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
container: three label-related fields are now in `google_container_cluster` resource. `resource_labels` field is non-authoritative and only manages the labels defined by the users on the resource through Terraform. The new output-only `terraform_labels` field merges the labels defined by the users on the resource through Terraform and the default labels configured on the provider. The new output-only `effective_labels` field lists all of labels present on the resource in GCP, including the labels configured through Terraform, the system, and other clients.
3
+
```
4
+
```release-note:breaking-change
5
+
container: made three fields `resource_labels`, `terraform_labels`, and `effective_labels` be present in `google_container_cluster` datasources. All three fields will have all of labels present on the resource in GCP including the labels configured through Terraform, the system, and other clients, equivalent to `effective_labels` on the resource.
6
+
```
7
+
```release-note:breaking-change
8
+
edgenetwork: three label-related fields are now in `google_edgenetwork_network ` and `google_edgenetwork_subnet` resources. `labels` field is non-authoritative and only manages the labels defined by the users on the resource through Terraform. The new output-only `terraform_labels` field merges the labels defined by the users on the resource through Terraform and the default labels configured on the provider. The new output-only `effective_labels` field lists all of labels present on the resource in GCP, including the labels configured through Terraform, the system, and other clients.
Description: `The GCE resource labels (a map of key/value pairs) to be applied to the cluster.
1787
+
1788
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
1789
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
1790
+
},
1791
+
"terraform_labels": {
1782
1792
Type: schema.TypeMap,
1783
-
Optional: true,
1793
+
Computed: true,
1794
+
Description: `The combination of labels configured directly on the resource and default labels configured on the provider.`,
1795
+
Elem: &schema.Schema{Type: schema.TypeString},
1796
+
},
1797
+
"effective_labels": {
1798
+
Type: schema.TypeMap,
1799
+
Computed: true,
1800
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
1784
1801
Elem: &schema.Schema{Type: schema.TypeString},
1785
-
Description: `The GCE resource labels (a map of key/value pairs) to be applied to the cluster.`,
1786
1802
},
1787
1803
1788
1804
"label_fingerprint": {
@@ -2331,7 +2347,7 @@ func resourceContainerClusterCreate(d *schema.ResourceData, meta interface{}) er
0 commit comments