Open QI-D opened 2 years ago
Hey @QI-D π Thank you for taking the time to raise this! So that we have all of the necessary information in order to look into this, can you update the issue description to include all of the information requested in the bug report template?
Hi @justinretzolk, thanks for responding. I've updated the description based on the bug report template. Only I'm not able to provide a complete debug output since this issue happens rarely and randomly. It only happened twice for the past month in our daily tests. I haven't been able to reproduce the issue when having TF_LOG
set to DEBUG
. So I provided the error message instead.
This is also happening to us. It worked properly a few times but it has been a few months. During a deployment today we ran into it.
Had the exact same issue today: Terraform CLI Version: 1.4.0 AWS Provider Version: 4.58.0 Workaround was to simply provide the dashboard-resource manually on INT environment. But I fear this will happen again during PROD deployment.
aws-deployment.log This issue just happened again recently. Please see the Terraform output attached.
name: π Bug Report about: I was creating a deployment and terraform returned a "ResourceNotFound" error message complaining about Amazon CloudWatch Dashboard not found when it's creating the dashboard with customized dashboard body.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform CLI Version: 1.2.5 AWS Provider Version: v4.13.0
Affected Resource(s)
aws_cloudwatch_dashboard
Terraform Configuration Files
Debug Output
Not able to provide a complete debug output since this issue happens rarely and randomly, haven't been able to reproduce the issue when having
TF_LOG
set toDEBUG
. Please see the following error message:Expected Behavior
Expected Terraform to create AWS CloudWatch dashboard with customized widgets.
Actual Behavior
Terraform returned an error with error message "ResourceNotFound".
Steps to Reproduce
terraform apply