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

compute/backend_service: Remove TTLs when using cache mode USE_ORIGIN_HEADERS #1589

Conversation

modular-magician
Copy link
Collaborator

Removes TTLs when using cache_mode = "USE_ORIGIN_HEADERS" which would otherwise result in API validation errors.

Fixes hashicorp/terraform-provider-google#15791

Replicates the changes from this PR GoogleCloudPlatform/magic-modules#7588 which fixed it for google_compute_backend_bucket.

Release Note Template for Downstream PRs (will be copied)

compute: fixed an issue with TTLs being sent for `google_compute_backend_service` when `cache_mode` is set to `USE_ORIGIN_HEADERS`

Derived from GoogleCloudPlatform/magic-modules#8910

…_HEADERS (#8910)

[upstream:fc6543a63a54ff736884d7c6349f8ccb5e86814a]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner October 13, 2023 15:43
@modular-magician modular-magician requested review from roaks3 and removed request for a team October 13, 2023 15:43
@modular-magician modular-magician merged commit 5e26c67 into GoogleCloudPlatform:main Oct 13, 2023
@modular-magician modular-magician deleted the downstream-pr-fc6543a63a54ff736884d7c6349f8ccb5e86814a branch November 18, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compute_backend_service: Unable to switch from cache_mode "CACHE_ALL_STATIC" to "USE_ORIGIN_HEADERS"
1 participant