Delete CloudFormation Stacks

Delete the stack for our sample application

aws cloudformation delete-stack --stack-name monitoring-app

Delete the stack for log processing

If you completed the CloudWatch Metrics, Alarms, and Dashboards > Pushing Metrics Asynchronously module:

aws cloudformation delete-stack --stack-name log-processing

Delete the stack for distributed tracing

If you completed the Distributed Tracing module:

aws cloudformation delete-stack --stack-name monitoring-app-tracing

Delete the stack for the CDK-based CW Metrics Dashboard

If you completed the CloudWatch Metrics, Alarms, and Dashboards > Creating Dashboards module:

aws cloudformation delete-stack --stack-name CloudwatchCdkStack

Make sure to refresh until your stacks are deleted to move forward.