Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions website/docs/plugin/framework/types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Call one of the following to create a `types.Bool`:

Lists are ordered collections of a single element type.

-> Use [ListNestedAttributes](/plugin/framework/schemas#ListNestedAttributes) for lists of objects that need additional schema information. Use [SetType and Set](#settype-and-set) for unordered collections.
-> Use [ListNestedAttributes](/plugin/framework/schemas#listnestedattributes) for lists of objects that need additional schema information. Use [SetType and Set](#settype-and-set) for unordered collections.

Given an example Terraform configuration that sets a list of string values to the `example_attribute` attribute:

Expand Down Expand Up @@ -292,7 +292,7 @@ Call one of the following to create a `types.List`:

Maps are mappings of string keys to values of a single element type.

-> Use [MapNestedAttributes](/plugin/framework/schemas#MapNestedAttributes) for maps of objects that need additional schema information. Use [ObjectType and Object](#objecttype-and-object) for structures of string attribute names to any value.
-> Use [MapNestedAttributes](/plugin/framework/schemas#mapnestedattributes) for maps of objects that need additional schema information. Use [ObjectType and Object](#objecttype-and-object) for structures of string attribute names to any value.

Given an example Terraform configuration that sets a map of string values to the `example_attribute` attribute:

Expand Down Expand Up @@ -336,7 +336,7 @@ Call one of the following to create a `types.Map`:

Objects are mappings of string attribute names to values of any type. Objects must always declare all attribute values, even when those attributes are null or unknown, unless the entire object is null or unknown.

-> Use [SingleNestedAttributes](/plugin/framework/schemas#SingleNestedAttributes) for objects that need additional schema information. Use [MapType and Map](#maptype-and-map) for mappings of string keys to a single element type.
-> Use [SingleNestedAttributes](/plugin/framework/schemas#singlenestedattributes) for objects that need additional schema information. Use [MapType and Map](#maptype-and-map) for mappings of string keys to a single element type.

Given an example Terraform configuration that sets a map of string values to the `example_attribute` attribute:

Expand Down Expand Up @@ -384,7 +384,7 @@ Call one of the following to create a `types.Object`:

Set are unordered, unique collections of a single element type.

-> Use [SetNestedAttributes](/plugin/framework/schemas#SetNestedAttributes) for sets of objects that need additional schema information. Use [ListType and List](#listtype-and-list) for ordered collections.
-> Use [SetNestedAttributes](/plugin/framework/schemas#setnestedattributes) for sets of objects that need additional schema information. Use [ListType and List](#listtype-and-list) for ordered collections.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a SetNestedAttributes section in the schemas page?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, I missed it. should we create one here? as there is a link in types page


Given an example Terraform configuration that sets a set of string values to the `example_attribute` attribute:

Expand Down