-
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
Backend service resource cannot be used with global network endpoint #6155
Backend service resource cannot be used with global network endpoint #6155
Comments
Is there a known workaround for this bug? |
Firstly I'm going to categorize as a feature since this is new behavior that was implemented in GCP that we don't support yet. Similar to when a new field is added to an API, however this is a new configuration that overloads existing fields. @venkykuberan this unfortunately can't be something that can be accomplished just by removing the required check for healthcheck. There are other fields in the ℹ️ There is some more detail about the fields added for NEG in GoogleCloudPlatform/magic-modules#1928 |
I will work in this problem since its a blocker for us. |
@chrisst @danawillow @ndmckinley Is there any ongoing work towards resolving this and if not could you suggest a workaround? Thank you 🙏 |
FWIW, imported global neg backend services include an empty array for health_checks, but cannot subsequently be re-applied, let alone created from scratch as such: resource "google_compute_backend_service" "on_prem" {
[...]
health_checks = []
[...] |
Hello! This is currently in our |
Thanks for explaining @ndmckinley |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
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
Terraform v0.12.24
Affected Resource(s)
Terraform Configuration Files
Errors
without
health_checks
with
health_checks
in code aboveExpected Behavior
It should have been possible to create the
google_compute_backend_service
forgoogle_compute_global_network_endpoint_group
without any problemActual Behavior
It's not possible to create the
google_compute_backend_service
since it expects me to set thehealth_checks
but thegoogle_compute_global_network_endpoint_group
must be use without any health checks set (according to the docs there is no health check support for this)Steps to Reproduce
google_compute_global_network_endpoint_group
withgoogle_compute_global_network_endpoint
according to documentation for this providergoogle_compute_backend_service
using the documentation for this providergoogle_compute_global_network_endpoint_group
in the backend service groupterraform apply
The text was updated successfully, but these errors were encountered: