Congratulations! What a lengthy workshop! Finally, you provided the AnimeHub team with the fundamental steps for building Terraform modules to provision your recommended AWS infrastructure that suits their needs. Additionally, you assisted them in becoming familiar with Terraform Cloud, which could enhance collaborative Terraform within the team.
You now clean up the Terraform-provisioned AWS resources. Cleaning up resources with Terraform may be faster and less error-prone than manually deleting.
Please destroy the resources in the following order: web, app, routing, security, database, image repository, and network workspace.
1. Navigate to your dev-web Terraform Cloud workspace interface. Click Settings.
2. On the left sidebar, click Destruction and Deletion.
3. Click Queue destroy plan.
4. Enter dev-web
as the workspace name. Click Queue destroy plan. Then, you will be directed to a new plan that destroy all of the infrastructure managed by Terraform.
5. Wait until the plan is finished. After that, review the plan. If everything is fine, scroll down to the bottom and click Confirm & apply.
6. Optionally, add a comment Look good to me!
. Click Confirm plan, Terraform will destroy AWS resources for you. After Terraform has done the destroying process, you may access your AWS account to view the Terraform-provided AWS resources destroyed.
7. Do the same for the remaining workspaces from step 1. Remember to enter the corresponding workspace name in step 4.