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

fix: Allow Serverless maintenance windows #427

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

ricardo-mng
Copy link
Contributor

@ricardo-mng ricardo-mng commented Feb 2, 2024

Description

AWS added support for configuring maintenance windows on Serverless V1 clusters in February 2023, as described in this announcement. The terraform-aws-rds-aurora module does not pass the preferred_maintenance_window argument down to the aws_rds_cluster resource if engine_mode is serverless.

This change was done in the context of this issue 213

Note:
Also tested to set the preferred_backup_window attribute on serverless, but it still gives the error:
InvalidParameterCombination: You currently can't modify BackupWindow with Aurora Serverless

Motivation and Context

We cannot warn our customers of database maintenance that has downtime because of this limitation.

Breaking Changes

There are no breaking changes.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes against several internal existing implementations.
  • I have executed pre-commit run -a on my pull request

@ricardo-mng ricardo-mng changed the title feat: allow serverless maintenance windows feat: Allow Serverless maintenance windows. Feb 2, 2024
@bryantbiggs bryantbiggs changed the title feat: Allow Serverless maintenance windows. fix: Allow Serverless maintenance windows Feb 15, 2024
@bryantbiggs bryantbiggs merged commit c7d2e77 into terraform-aws-modules:master Feb 15, 2024
15 of 16 checks passed
antonbabenko pushed a commit that referenced this pull request Feb 15, 2024
### [9.0.1](v9.0.0...v9.0.1) (2024-02-15)

### Bug Fixes

* Allow Serverless maintenance windows ([#427](#427)) ([c7d2e77](c7d2e77))
@antonbabenko
Copy link
Member

This PR is included in version 9.0.1 🎉

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 Mar 17, 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.

Support setting preferred_maintenance_window on Serverless V1 clusters
4 participants