Delete and Restore an AWS CDK Stack

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

There is a slight chance that your book startup didn't work out. Or maybe you created your CDK project just as a learning exercise. Either way, it's best to clean up after yourself in order to not get hit with any surprise charges.

You can easily destroy your stack and its resources from the command line with cdk destroy. But don't worry. You can easily restore your stack with cdk deploy. This is the power of infrastructure as code!