Skip to content

Commit

Permalink
plugin/how-terraform-works: Further clarify nested attributes benefits
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Jul 25, 2022
1 parent 33b992f commit 0f6690c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/plugin/how-terraform-works.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ Major versions of the protocol delineate Terraform CLI and Terraform Plugin comp

Protocol version 6 is compatible with Terraform CLI version 1.0 and later. Protocol version 6 includes all version 5 functionality for providers, plus:

* **Nested Attributes**: You can define `SchemaAttribute` with the `NestedType` field. This enables complex schemas using [argument syntax](/language/syntax/configuration#arguments) instead of [block syntax](/language/syntax/configuration#blocks) and is preferred going forward.
* **Nested Attributes**: Define `SchemaAttribute` with the `NestedType` field.
* Enable practitioners to use easier [argument syntax](/language/syntax/configuration#arguments) instead of [block syntax](/language/syntax/configuration#blocks).
* Individually configure value sensitivity on read-only (`Computed` only) nested attributes, rather than the entire attribute.

Implementations include:

Expand Down

0 comments on commit 0f6690c

Please sign in to comment.