terraform-provider-google
terraform-provider-google copied to clipboard
add labels to google_compute_region_security_policy and google_compute_security_policy
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- If an issue is assigned to a user, that user is claiming responsibility for the issue.
- Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Description
please add labels to following resources
- google_compute_region_security_policy
- google_compute_security_policy
New or Affected Resource(s)
- google_compute_security_policy
- google_compute_region_security_policy
Potential Terraform Configuration
resource "google_compute_region_security_policy" "region-sec-policy-basic" {
provider = google-beta
name = "my-sec-policy-basic"
description = "basic region security policy"
type = "CLOUD_ARMOR"
labels = {
foo="bar"
}
}
resource "google_compute_security_policy" "policy" {
name = "my-policy"
labels = {
foo="bar"
}
}
References
https://cloud.google.com/compute/docs/reference/rest/beta/securityPolicies https://cloud.google.com/compute/docs/reference/rest/v1/regionSecurityPolicies
b/339025935