Closed joshmyers closed 2 months ago
Voting for Prioritization
Volunteering to Work on This Issue
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
This functionality has been released in v5.68.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Core Version
1.3.2
AWS Provider Version
4.62.0
Affected Resource(s)
aws_dynamodb_table
Expected Behavior
Changing from the default
alias/aws/dynamodb
SSE config by changing the below attribute toenabled = false
should remove theAWS managed key
encryption and instead end up with the defaultManaged by DynamoDB
encryption setting[1][1]
Actual Behavior
The table failed to update and throws a validation exception.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
server_side_encryption.enabled = false
Debug Output
Panic Output
No response
Important Factoids
No response
References
https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/dynamodb/table.go#L929-L932
It looks to me that an unneeded (in my case at least) update is pushed to the replicas, which fails because KMS key is empty as can be seen in the debug output.
Would you like to implement a fix?
https://github.com/hashicorp/terraform-provider-aws/pull/31284