match
not actually optional on google_compute_router_route_policy
#23061
Labels
match
not actually optional on google_compute_router_route_policy
#23061
Community Note
Terraform Version & Provider Version(s)
Terraform v1.5.7
on linux/amd64
Affected Resource(s)
google_compute_router_route_policy
Terraform Configuration
Debug Output
Expected Behavior
Created the policy successfully, with the match applying to all resources.
Actual Behavior
Failed to create due to a lack of
match
attribute.Steps to reproduce
terraform apply
Important Factoids
https://cloud.google.com/compute/docs/reference/rest/v1/routers/updateRoutePolicy affirms the provider documentation this is supposed to be a supported mode of creating a policy.
Therefore, I suspect this is actually a "drift" or miscommunication by the team in charge of this API/product.
References
https://cloud.google.com/network-connectivity/docs/router/concepts/bgp-route-policies-overview
These docs don't give a clear indication of what I should expect on the
match
block.The text was updated successfully, but these errors were encountered: