You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`list`|`schema.ListAttribute`|`types.List`|`[]attr.Value`| Ordered collection of single element type |
76
-
|`map`|`schema.MapAttribute`|`types.Map`|`map[string]attr.Value`| Mapping of string keys to single element type |
76
+
|`map`|`schema.MapAttribute`|`types.Map`|`map[string]attr.Value`| Mapping of arbitrary string keys to single element type |
77
77
|`number`|`schema.NumberAttribute`|`types.Number`|`*big.Float`| Large floating point or number |
78
-
|`object`|`schema.ObjectAttribute`|`types.Object`|`map[string]attr.Value`| Structure mapping string attibute keys to any value type |
78
+
|`object`|`schema.ObjectAttribute`|`types.Object`|`map[string]attr.Value`| Structure mapping explicit string attibute keys to any value type |
79
79
|`set`|`schema.SetAttribute`|`types.Set`|`[]attr.Value`| Unordered, unique collection of single element type |
80
80
|`string`|`schema.StringAttribute`|`types.String`|`string`| Collection of UTF-8 encoded characters |
81
81
@@ -281,9 +281,9 @@ Call one of the following to create a `types.List`:
281
281
282
282
### Map
283
283
284
-
Maps are mappings of string keys to values of a single element type.
284
+
Maps are mappings of arbitrary string keys to values of a single element type.
285
285
286
-
-> 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.
286
+
-> 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 explicit string attribute names to any value.
287
287
288
288
Given an example Terraform configuration that sets a map of string values to the `example_attribute` attribute:
289
289
@@ -323,9 +323,9 @@ Call one of the following to create a `types.Map`:
323
323
324
324
### Object
325
325
326
-
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.
326
+
Objects are mappings of explicit 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.
327
327
328
-
-> 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.
328
+
-> Use [Single Nested Attributes](/terraform/plugin/framework/handling-data/attributes#singlenestedattribute) for objects that need additional schema information. Use [Map](#map) for mappings of arbitrary string keys to a single element type.
329
329
330
330
Given an example Terraform configuration that sets a map of string values to the `example_attribute` attribute:
0 commit comments