-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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: at_rest_encryption_enabled incorrectly processed #40460
Conversation
…pected replication group state and endless replacement when set to false
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @rsafonseca 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Hi @rsafonseca. Thanks for contributing a fix for an issue. Unfortunately, we won't be able to use it. Changing this default value will be a breaking change and will also cause problems for existing deployments. In addition, due to a known issue with Boolean values and the Terraform Plugin SDK, I've created #40514 to fix this issue |
Hi @gdavison , thanks for taking this up. As it currently stands, we can't enable it for redis and we can't disable it for valkey, because the property isn't being passed during the Create api call |
Description
at_rest_encryption_enabled incorrectly processed leading to unexpected replication group state and endless replacement when set to false
Current situation:
at_rest_encryption_enabled=true
, every terraform plan/apply will try to recreate the ReplicationGroup, which is a destructive operationThis PR changes
at_rest_encryption_enabled
from Computed to a normal parameter, so it is included with the CreateReplicationGroup API callRelations
Relates #39955
References
Output from Acceptance Testing