CDK Destroy

Destroy the infrastructure managed by the CDK app.


From your Cloud9 environment, open a terminal window and change directory to the InfrastructureApp subdirectory of the Git repo you cloned during the setup.

cd ~/environment/InfrastructureApp

Destroy the infrastructure used by the workshop.

cdk destroy

You should see a confirmation, which you will be required to confirm, and then status messages as the destruction proceeds. Upon successful destruction you will see a confirmation message in the terminal.

InfrastructureStack: destroyed