Remnant CloudWatch Dashboards persist on each dashboard rename #9782
Labels
bug
Addresses a defect in current functionality.
service/cloudwatch
Issues and PRs that pertain to the cloudwatch service.
Milestone
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A - no relevant debug output - the bug only presents itself in the AWS Console
Panic Output
N/A - no panics
Expected Behavior
On update of the dashboard resource's
dashboard_name
✅ The dashboard with the new name should be deployed to AWS
✅ The dashboard with the original name should be destroyed in AWS
Actual Behavior
On update of the dashboard resource's
dashboard_name
✅ The dashboard with the new name is deployed to AWS
❌ The dashboard with the original name is not destroyed in AWS
Steps to Reproduce
dashboard_body
JSONdashboard_name
propertyterraform plan
to see the "update-in-place" output:terraform apply
8. Confirm that the old dashboard still exists
9. Confirm that only the new dashboard exists in the terraform state
Important Factoids
N/A - reproduced on personal and work account
References
The text was updated successfully, but these errors were encountered: