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 and re-create maintenance window if start or end times change #467

Conversation

sbchisholm
Copy link
Contributor

Proposed solution for the 400 error seen in issue #396, when attempting to update the start and end times of a maintenance window.

@stmcallister
Copy link
Contributor

I like this idea! Would you be able to write a test for this scenario and add it to the acceptance tests?

@sbchisholm
Copy link
Contributor Author

I like this idea! Would you be able to write a test for this scenario and add it to the acceptance tests?

Sorry for taking forever to reply. It wasn't immediately clear where I could add test coverage for this in the existing test suite, I'll have another chance to get back to this soon.

In the meantime we've just been working around the issue by using terraform state rm ... to remove the past window from the state.

@sbchisholm sbchisholm closed this Jun 4, 2024
@sbchisholm sbchisholm deleted the force-new-maintenance-window-on-changed-interval branch June 4, 2024 13:03
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.

2 participants