Skip to content
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 support for internet NEG backend #482

Conversation

modular-magician
Copy link
Collaborator

Fixes: hashicorp/terraform-provider-google#6155

Similar to GoogleCloudPlatform/magic-modules#3764 but with virtual field to strip max_utilization from request body. This allows users of the regular backend service to send max_utilization = 0.0, but will show max_utilization in initial create diff of a backend with a network endpoint

Add ability to set global network endpoint group as backend for backend service. Make health_checks optional if NEG is used. Virtual field added to enable this

Release Note Template for Downstream PRs (will be copied)

compute: Added support to `google_compute_backend_service` for setting a network endpoint group as `backend.group`

Derived from GoogleCloudPlatform/magic-modules#3782

* Add ability to set global network endpoint group as backend for backend service. Make health_checks optional

* PR fixes

* Add encoder to remove max_utilization when neg backend

* Check for global NEG in group to remove max_utilization

* Add another nil check

* Spacing

* Docs fix

Signed-off-by: Modular Magician <[email protected]>
@google-cla google-cla bot added the cla: yes label Jul 25, 2020
@modular-magician modular-magician merged commit dbc1e33 into GoogleCloudPlatform:master Jul 25, 2020
@modular-magician modular-magician deleted the downstream-pr-986d8a21af79ac88903d8857252659f5d69816da branch November 18, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backend service resource cannot be used with global network endpoint
1 participant