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
Description: `Labels to apply to this address. A list of key->value pairs.
720
+
713
721
722
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
723
+
Please refer to the field 'effective_labels' for all of the labels present on the resource.`,
724
+
},
725
+
"terraform_labels": {
726
+
Type: schema.TypeMap,
727
+
Computed: true,
728
+
Description: `The combination of labels configured directly on the resource and default labels configured on the provider.`,
729
+
Elem: &schema.Schema{Type: schema.TypeString},
730
+
},
731
+
"effective_labels": {
732
+
Type: schema.TypeMap,
733
+
Computed: true,
734
+
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
735
+
Elem: &schema.Schema{Type: schema.TypeString},
736
+
},
737
+
"label_fingerprint": {
738
+
Type: schema.TypeString,
739
+
Computed: true,
740
+
Description: `The unique fingerprint of the labels.`,
741
+
},
742
+
},
714
743
UseJSONNumber: true,
715
744
}
716
745
}
@@ -813,6 +842,48 @@ func resourceComputeSecurityPolicyCreate(d *schema.ResourceData, meta interface{
Copy file name to clipboardExpand all lines: website/docs/r/compute_security_policy.html.markdown
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,16 @@ The following arguments are supported:
205
205
*`CLOUD_ARMOR_INTERNAL_SERVICE` - Cloud Armor internal service policies can be configured to filter HTTP requests targeting services
206
206
managed by Traffic Director in a service mesh. They filter requests before the request is served from the application.
207
207
208
+
*`labels` - Labels to apply to this address. A list of key->value pairs.
209
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
210
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
211
+
212
+
*`effective_labels` - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
213
+
214
+
*`terraform_labels` - The combination of labels configured directly on the resource and default labels configured on the provider.
215
+
216
+
*`label_fingerprint` - The unique fingerprint of the labels.
0 commit comments