From fc2db9eeb8ffe2f621e9caf02ee4053adc8c41b6 Mon Sep 17 00:00:00 2001 From: Zhiwei Liang <121905282+zliang-akamai@users.noreply.github.com> Date: Tue, 18 Jul 2023 17:01:00 -0400 Subject: [PATCH] Correct `Nested Attributes` doc links (#804) --- .../docs/plugin/framework/handling-data/attributes.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/plugin/framework/handling-data/attributes.mdx b/website/docs/plugin/framework/handling-data/attributes.mdx index 4d7921b69..61b826db3 100644 --- a/website/docs/plugin/framework/handling-data/attributes.mdx +++ b/website/docs/plugin/framework/handling-data/attributes.mdx @@ -245,7 +245,7 @@ Call one of the following to create a `types.Bool`: Lists are ordered collections of a single element type. --> Use [List Nested Attributes](/terraform/plugin/framework/schemas#ListNestedAttributes) for lists of objects that need additional schema information. Use [Set](#set) for unordered collections. +-> Use [List Nested Attributes](/terraform/plugin/framework/handling-data/attributes#listnestedattribute) for lists of objects that need additional schema information. Use [Set](#set) for unordered collections. Given an example Terraform configuration that sets a list of string values to the `example_attribute` attribute: @@ -283,7 +283,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 [Map Nested Attributes](/terraform/plugin/framework/schemas#MapNestedAttributes) for maps of objects that need additional schema information. Use [Object](#object) for structures of string attribute names to any value. +-> Use [Map Nested Attributes](/terraform/plugin/framework/handling-data/attributes#mapnestedattribute) for maps of objects that need additional schema information. Use [Object](#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: @@ -325,7 +325,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 [Single Nested Attributes](/terraform/plugin/framework/schemas#SingleNestedAttributes) for objects that need additional schema information. Use [Map](#map) for mappings of string keys to a single element type. +-> Use [Single Nested Attributes](/terraform/plugin/framework/handling-data/attributes#singlenestedattribute) for objects that need additional schema information. Use [Map](#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: @@ -371,7 +371,7 @@ Call one of the following to create a `types.Object`: Set are unordered, unique collections of a single element type. --> Use [Set Nested Attributes](/terraform/plugin/framework/schemas#SetNestedAttributes) for sets of objects that need additional schema information. Use [List](#list) for ordered collections. +-> Use [Set Nested Attributes](/terraform/plugin/framework/handling-data/attributes#setnestedattribute) for sets of objects that need additional schema information. Use [List](#list) for ordered collections. Given an example Terraform configuration that sets a set of string values to the `example_attribute` attribute: