Teardown
Remove the AWS Config Resource Compliance Dashboard dashboard resources
Follow these steps to remove the dashboard.
Step 1: all deployment architectures
-
Log into the AWS Console of the account where you deployed the dashboard. This is the AWS account ID that you specified in the
Dashboard account IDparameter of the CloudFormation template. -
Open AWS CloudShell in the AWS Region where the dashboard is deployed.
-
Execute the following command to delete the dashboard:
cid-cmd delete --resources 'https://raw.githubusercontent.com/aws-samples/config-resource-compliance-dashboard/refs/heads/main/dashboard_template/cid-crcd.yaml'
-
When prompted:
-
Select the
[cid-crcd] AWS Config Resource Compliance Dashboard (CRCD)dashboard. -
For each Quick Sight dataset, choose
yesto delete the dataset. -
If prompted, accept the default values for the S3 Path for the Athena table.
-
If prompted, accept the default values for the tags.
-
Step 2: only for deployment on AWS Config or standalone account
Note
Follow these steps if you deployed the dashboard on the AWS Config account or a standalone AWS account.
-
Log into the AWS Console of the account where you deployed the dashboard resources with CloudFormation. This is the AWS account ID that you specified both in the
AWS Config account IDand theDashboard account IDparameters of the CloudFormation template. -
Revert any manual configuration made during setup.
-
Open the S3 console and empty the Amazon S3 bucket for the Athena Query results. The bucket name is in the CloudFormation stack output.
-
In the same account, open CloudFormation and delete the stack that installed the data pipeline resources for the dashboard.
Step 2: only for deployment on dedicated Dashboard account
Note
Follow these steps if you deployed the dashboard on a dedicated Dashboard account.
Remove resources on AWS Config account
-
Log into the AWS Console of the AWS Config account. This is the AWS account ID that you specified in the
AWS Config account IDparameter of the CloudFormation template. -
Revert any manual configuration made during setup.
-
Open CloudFormation and delete the stack that installed the resources for the dashboard.
Remove resources on Dashboard account
-
Log into the AWS Console of the account where you deployed the dashboard resources with CloudFormation. This is the AWS account ID that you specified in the
Dashboard account IDparameter of the CloudFormation template. -
Revert any manual configuration made during setup.
-
Open the S3 console and empty the Amazon S3 bucket for the Athena Query results. The bucket name is in the CloudFormation stack output.
-
Empty the Dashboard bucket, as well. This bucket contains a copy of the AWS Config files from the AWS Config Logs bucket. The bucket name is in the CloudFormation stack output.
-
In the same account, open CloudFormation and delete the stack that installed the data pipeline resources for the dashboard.