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

databases: ignore seconds in maintenance_window.hour #1094

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

andrewsomething
Copy link
Member

This resolves an issue with unexpected diffs from maintenance_window.hour. The logic in the existing DiffSuppressFunc is a bit backwards. It's not entirely clear to me if this was always just wrong or if the API changed behaviour at some point.

I think the best path forward from the provider perspective it to make it so seconds are ignored completely when calculating the diff. Users should not need to scheduled a maintenance down to the second. They are too fine grained.

Fixes: #1093

@andrewsomething andrewsomething requested a review from a team December 15, 2023 21:40
@andrewsomething andrewsomething merged commit 556c2da into main Dec 15, 2023
2 checks passed
@andrewsomething andrewsomething deleted the asb/issues/1093 branch December 15, 2023 22:52
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.

Incorrect Timestamp for Database cluster's maintenance policy
2 participants