Clean up resources

Clean up resources

Similar to the CDK Basic Workshop, you can clean up all the resources in order to avoid unwanted charges. To delete all the resources in the stack, run the command.

cdk destroy

Or you can destroy it manually

delete-manual

If you have uploaded files into the bucket, it cannot be destroyed by the cdk destroy command. You will need to manually delete all the files inside the bucket, and then delete the bucket.

Congratulations on finishing the CDK Basic 2 Workshop!