From 8db0330bd1b2f53ecddbf09e02fb908780440573 Mon Sep 17 00:00:00 2001 From: Bandhan Majumder <133476557+bandhan-majumder@users.noreply.github.com> Date: Wed, 8 May 2024 00:45:04 +0530 Subject: [PATCH] Update website/docs/language/syntax/configuration.mdx Fixed grammar and style issues. Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com> --- website/docs/language/syntax/configuration.mdx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/website/docs/language/syntax/configuration.mdx b/website/docs/language/syntax/configuration.mdx index f7a8473d89..2ca57fe5bd 100644 --- a/website/docs/language/syntax/configuration.mdx +++ b/website/docs/language/syntax/configuration.mdx @@ -76,10 +76,7 @@ resource "aws_instance" "example" { A block has a _type_ (`resource` in this example). Each block type defines how many _labels_ must follow the type keyword. The `resource` block type expects two labels, which are `aws_instance` and `example` in the example above. -First label `aws_instance` is the `resource` type provided by AWS provider in Terraform and -second label `example` is an arbitrary name given to this particular instance of the `aws_instance` of block `resource`. -In Terraform, we can have multiple instances of the same block type (`resource`). And we differentiate -them by giving each instance a unique name. +The `aws_instance` label is specific to the AWS provider. It specifies the `resource` type that Terraform provisions when you apply the configuration. The second label is an arbitrary name that you can add to the particular instance of the resource. You can create multiple instances of the same block type and differentiate them by giving each instance a unique name. In this example, the Terraform configuration author assigned the `example` label to this instance of the `aws_instance` resource. A particular block type may have any number of required labels, or it may require none as with the nested `network_interface` block type.