[BUG] Inconsistent Plan and Apply on RDS INSTANCE with enabled_cloudwatch_logs_exports attributes #11208
Labels
bug
Addresses a defect in current functionality.
service/rds
Issues and PRs that pertain to the rds service.
Milestone
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When re-applying the following code, no changes should occur.
Actual Behavior
enabled_cloudwatch_logs_exports array gets sorted alphabetically and terraform makes tries to update the instance, it shoulnd't, and when it does, it fails becasue AWS API tells it there are no changes.
PLANL
APPLY:
Steps to Reproduce
terraform apply
terraform apply
Workaround
** NOTE THIS HASN'T BEEN TESTED BUT WILL PROBABLY WORK.**
Re-order the enabled_cloudwatch_logs_exports attributes alphabetically in the code. Eveything should be fine.
Important Factoids
References
I found no other related issue
The text was updated successfully, but these errors were encountered: