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
chore: Uses blocks for Tags and Labels in TPF (#2901)
* move labels and tags from attrs to blocks
* don't convert labels and tags
* allow null value in Labels and Tags
* fix TestAccMockableAdvancedCluster_replicasetAdvConfigUpdate
MarkdownDescription: "Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels.\n\nCluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead.",
163
-
NestedObject: schema.NestedAttributeObject{
164
-
Attributes: map[string]schema.Attribute{
165
-
"key": schema.StringAttribute{
166
-
Required: true,
167
-
MarkdownDescription: "Key applied to tag and categorize this component.",
168
-
},
169
-
"value": schema.StringAttribute{
170
-
Required: true,
171
-
MarkdownDescription: "Value set to the Key applied to tag and categorize this component.",
MarkdownDescription: "Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels.\n\nCluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead.",
319
+
NestedObject: schema.NestedBlockObject{
320
+
Attributes: map[string]schema.Attribute{
321
+
"key": schema.StringAttribute{
322
+
Required: true,
323
+
MarkdownDescription: "Key applied to tag and categorize this component.",
324
+
},
325
+
"value": schema.StringAttribute{
326
+
Required: true,
327
+
MarkdownDescription: "Value set to the Key applied to tag and categorize this component.",
328
+
},
329
+
},
330
+
},
331
+
},
332
+
"tags": schema.SetNestedBlock{
333
+
MarkdownDescription: "List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster.",
334
+
NestedObject: schema.NestedBlockObject{
335
+
Attributes: map[string]schema.Attribute{
336
+
"key": schema.StringAttribute{
337
+
Required: true,
338
+
MarkdownDescription: "Constant that defines the set of the tag. For example, `environment` in the `environment : production` tag.",
339
+
},
340
+
"value": schema.StringAttribute{
341
+
Required: true,
342
+
MarkdownDescription: "Variable that belongs to the set of the tag. For example, `production` in the `environment : production` tag.",
0 commit comments