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
// start with a letter and each label in the list must have a different
770
770
// key.
771
771
"labels": {
772
+
Type: schema.TypeMap,
773
+
Optional: true,
774
+
Elem: &schema.Schema{Type: schema.TypeString},
775
+
Description: `A mapping of labels to assign to the resource.
776
+
777
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
778
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
779
+
},
780
+
"effective_labels": {
772
781
Type: schema.TypeMap,
773
-
Optional: true,
782
+
Computed: true,
783
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
774
784
Elem: &schema.Schema{Type: schema.TypeString},
775
-
Description: `A mapping of labels to assign to the resource.`,
776
785
},
777
-
778
786
// Schema: [Optional] Describes the schema of this table.
779
787
// Schema is mutually exclusive with View and Materialized View.
Description: `A mapping of labels to assign to the resource.
162
+
163
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
164
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
165
+
},
166
+
167
+
"effective_labels": {
158
168
Type: schema.TypeMap,
159
-
Optional: true,
169
+
Computed: true,
170
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
160
171
Elem: &schema.Schema{Type: schema.TypeString},
161
-
Description: `A mapping of labels to assign to the resource.`,
162
172
},
163
173
164
174
"project": {
@@ -303,9 +313,12 @@ func resourceBigtableInstanceRead(d *schema.ResourceData, meta interface{}) erro
Description: `A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements.`,
262
+
Description: `A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements.
263
+
264
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
265
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
266
+
},
267
+
268
+
"effective_labels": {
269
+
Type: schema.TypeMap,
270
+
Computed: true,
271
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
272
+
Elem: &schema.Schema{Type: schema.TypeString},
263
273
},
264
274
265
275
"runtime": {
@@ -672,9 +682,12 @@ func resourceCloudFunctionsRead(d *schema.ResourceData, meta interface{}) error
Description: `User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be associated with a given environment. Both keys and values must be <= 128 bytes in size.
807
+
808
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
809
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
810
+
},
811
+
812
+
"effective_labels": {
803
813
Type: schema.TypeMap,
804
-
Optional: true,
814
+
Computed: true,
815
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
805
816
Elem: &schema.Schema{Type: schema.TypeString},
806
-
Description: `User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be associated with a given environment. Both keys and values must be <= 128 bytes in size.`,
807
817
},
808
818
},
809
819
UseJSONNumber: true,
@@ -907,7 +917,10 @@ func resourceComposerEnvironmentRead(d *schema.ResourceData, meta interface{}) e
0 commit comments