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

delete maxTtl when cache_mode is FORCE_CACHE_ALL - google_compute_backend_bucket #16976

Conversation

modular-magician
Copy link
Collaborator

Fixes #16935

delete maxTtl from FORCE_CACHE_ALL as maxTtl is only supported with CACHE_ALL_STATIC

Release Note Template for Downstream PRs (will be copied)

compute: fixed the bug that `max_ttl` is sent in API calls even it is removed from configuration when changing cache_mode to FORCE_CACHE_ALL in `google_compute_backend_bucket`

Derived from GoogleCloudPlatform/magic-modules#9777

…kend_bucket (hashicorp#9777)

* delete maxTtl from FORCE_CACHE_ALL as maxTtl is only supported with cache_mode CACHE_ALL_STATIC

* adding acceptance test
[upstream:12263cb01785673f0e9cea12828531658667354a]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit b250e14 into hashicorp:main Jan 11, 2024
2 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing cache_mode from CACHE_ALL_STATIC to FORCE_CACHE_ALL fails for a GCS backend.
1 participant