-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url_mask in google_compute_region_network_endpoint_group.serverless_deployment should be optional #11242
url_mask in google_compute_region_network_endpoint_group.serverless_deployment should be optional #11242
Comments
Looks like the problem is this line: url_mask should be optional |
Hi there. Since the fix for this seems quite trivial, is it going to be added to the next release of the provider? If so, when would it be released? It's actually blocking me to get API Gateway deployed with Terraform, as I didn't have any luck setting the URL mask parameter, but it works with |
I had the exact same issue as you did @jose-lpa I've made GoogleCloudPlatform/magic-modules#5883 with this one-liner fix - hopefully it gets merged and into a release soon! |
Fixes hashicorp/terraform-provider-google#11242 Replaces hashicorp/terraform-provider-google-beta#4161 This argument isn't required - the gcloud command correctly creates a serverless NEG with an API gateway resource without url_mask specified.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/yuryu/3460cdf33ef985d715b39a47d906a905
Panic Output
Expected Behavior
It should create a NEG pointing to API Gateway api-uscentral1. Only one of resource and url_mask should be required.
Actual Behavior
Terraform stops with error:
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: