Skip to content

Commit

Permalink
Merge pull request #35135 from hashicorp/backport-35093
Browse files Browse the repository at this point in the history
Backport Config syntax docs update
  • Loading branch information
DanielMSchmidt committed May 8, 2024
2 parents df4e334 + 158e9a6 commit d516d3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/docs/language/syntax/configuration.mdx
Expand Up @@ -76,6 +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.
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.

Expand Down

0 comments on commit d516d3d

Please sign in to comment.