-
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
Support serverless neg in google_compute_region_backend_service #12299
Comments
Okay, just found out, that I missed to check setting balancing_mode to "UTILIZATION". |
However, not sure if this is the right setting. |
I reviewed the latest Magic Modules resource "google_cloud_run_service" in the regional neg and see not all required fields are supported and/or tested. The cloud_run_service.traffic property is not supported in the terraform.yaml. Also, the full configuration expressed here is not represented or tested in its entirety. Once the missing fields and handwritten tests are added, the support for serverless neg should done. |
Any updates on this issue? |
Also would love to see this feature implemented |
Changing the default value is a breaking change, so it will need to wait for the next. @melinath Could you mark this bug as breaking change, please? |
@hao-nan-li could you look into making the changes requested in #12299 (comment) if appropriate? |
@melinath @hao-nan-li I am planning to preapre a PR which clears the deafult values next week. Making 17257 duplicate could help, but we can just mark both as resolved after the PR. |
The default value for balancing_mode in |
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
Description
We are using the public preview feature of Internal Load Balancer supporting Cloud Run backends (https://cloud.google.com/load-balancing/docs/l7-internal/setting-up-l7-internal-serverless) and created a bash script for invoking the gcloud commands. We now wanted to build the setup via terraform, but unfortunately it fails due to google_compute_region_backend_service not supporting serverless negs.
We are receiving the following error:
New or Affected Resource(s)
google_compute_region_backend_service
Potential Terraform Configuration
References
In the docs it states, that when using the gcloud commands, one should use the following commands to setup the backend service and attach the neg:
So I guess backend block has to be expanded to support neg.
b/314616920
The text was updated successfully, but these errors were encountered: