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

Fixes LifecycleRules Conditions not being set issue. #18231

Conversation

modular-magician
Copy link
Collaborator

Fixes #17990

Release Note Template for Downstream PRs (will be copied)

storage: fixed a bug where `google_storage_bucket.lifecycle_rule.condition` block fields  `days_since_noncurrent_time` and `days_since_custom_time`  and `num_newer_versions` were not working for 0 value. You can now send these by including a corresponding field such as `send_days_since_noncurrent_time_if_zero` in your configuration that is set to true.

Derived from GoogleCloudPlatform/magic-modules#10717

[upstream:4dd153f6cb4e3f3b58973bcf5723502b67ccf472]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit a823eeb into hashicorp:main May 23, 2024
4 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 Jun 23, 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.

P1 total data loss bug in google_storage_bucket lifecycle rule for days_since_noncurrent_time
1 participant