The following instructions will remove the resources that you have created in this lab.
WA-risk-management
, and delete the stack.wa-risk-tracking
function, click on Actions and Delete.wa-update-workload
function, click on Actions and Delete.Depending on the number of workloads defined and documented in the AWS WA Tool and the number of best practices missing in each workload, the walkthrough of the solution in this lab could potentially create a large number of OpsItems. You can set the status of the OpsItems to Resolved manually from the console, or you can use this Python script that uses Boto3 to set the status of all OpsItems with the source of Well-Architected to Resolved.
To use the cleanup script, make sure you have Python 3 and the AWS SDK for Python (Boto3) installed. The environment must also be configured with AWS credentials to make API calls to Systems Manager. The script requires one argument - the AWS Region used to walk through this lab.
python3 clear_OpsItems.py us-east-1
NOTE: In the command above, replace us-east-1 with the AWS Region you used for this lab.