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

Relax validations for search_criteria attributes for cleanup policy resource #1126

Conversation

alexhung
Copy link
Member

@alexhung alexhung commented Nov 11, 2024

To allow 0 for created_before_in_months and last_downloaded_before_in_months attributes

Add validation run to ensure both can't be 0 at the same time.

Fixes #1122

To allow 0 for created_before_in_months and last_downloaded_before_in_months attributes

Add validation run to ensure both can't be 0 at the same time.
@alexhung alexhung added the bug Something isn't working label Nov 11, 2024
@alexhung alexhung marked this pull request as ready for review November 11, 2024 22:54
@alexhung alexhung requested a review from danielmkn as a code owner November 11, 2024 22:54
@alexhung alexhung changed the title Relax validations for search_criteria attributes Relax validations for search_criteria attributes for cleanup policy resource Nov 11, 2024
@alexhung alexhung merged commit 3af6ad4 into master Nov 11, 2024
2 checks passed
@alexhung alexhung deleted the GH-1122-fix-unable-to-set-last-downloaded-before-in-months-to-zero branch November 11, 2024 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

last_downloaded_before_in_months value can not be set to 0 using TF
3 participants