C2_W3_Lab_2_CloudWatch - Can't Create CloudWatch Dashboard

Hi,

I encountered an error while running the Terraform configuration for setting up CloudWatch dashboard. The error is below. Can someone help? Thanks a lot!

Error: putting CloudWatch Dashboard (de-c2w3lab2-rds-dashboard): operation error CloudWatch: PutDashboard, exceeded maximum number of attempts, 25, https response error StatusCode: 0, RequestID: , request send failed, Post “https://monitoring.us-east-1.amazonaws.com/”: dial tcp: lookup monitoring.us-east-1.amazonaws.com on 127.0.0.11:53: server misbehaving

with module.monitoring.aws_cloudwatch_dashboard.rds_dashboard,
on modules/monitoring/cloudwatch.tf line 2, in resource “aws_cloudwatch_dashboard” “rds_dashboard”:
2: resource “aws_cloudwatch_dashboard” “rds_dashboard” {

Best,
Lu

1 Like

Hello @ly1015
In which step are you facing this issue?

4.1 - CloudWatch Showcase. When I was trying to run “terraform apply”.

There may have been a temporary bug that caused an excessive number of attempts. I guess if you try again, you won’t face the same issue. Please, make sure that you uncomment all the necessary files in all the said files before deploying terraform resources.

Hi, I am facing same issue here. Is there any solution yet?

Hello, I am facing the same issue. I have uncommented the entire first resource as instructed. I tried several times, but there was no change.

Can you guys please fill out the lab refresh form? After filling out the form wait for up to 2 business days and try again.