This project showcases the usage of the AWS CDK Auto-Deletion Construct to automate the cleanup of AWS CloudFormation stacks.
https://www.npmjs.com/package/cdk-aws-cleaner
- AWS CDK installed
- Node.js and npm or yarn installed
-
Clone this repository.
-
In your terminal, navigate to the
cdkdirectory:cd cdk -
Install the required dependencies using npm or yarn:
npm installor
yarn install
To deploy the example stack:
-
Make sure you are still in the
cdkdirectory. -
Deploy the stack using the AWS CDK command:
cdk deploy -
Follow the prompts to confirm the deployment.
-
Wait for the deployment to complete. Once finished, the stack will be up and running.
To remove the example stack and perform cleanup:
-
In the
cdkdirectory, run the following command:cdk destroy -
Confirm the stack removal by following the prompts.
-
Wait for the cleanup process to complete. Once finished, the stack and associated resources will be removed from your AWS account.
For any questions, help, or support related to this project, please contact us at aws@zerodotfive.com. We are a German company based in Hamburg, specializing in AWS services and solutions.
This project is licensed under the MIT License.
