1. 5
    Clear an initial AWS CDK stack to start building an app from scratch
    1m 22s

Clear an initial AWS CDK stack to start building an app from scratch

Share this video with your friends

Send Tweet

In this quick lesson we're going to clear out the SQS Queue and SNS Topic that was created for us when we created a CDK app with cdk init in order for us to be able to start building our app from scratch.

ed leach
ed leach
~ 4 years ago

I think you need to do "npm run-script build" before doing the diff.

Quang Le
Quang Le
~ 4 years ago

If someone happens to get the error Error: This stack uses assets, so the toolkit stack must be deployed to the environment (Run "cdk bootstrap aws://unknown-account/unknown-region"), then check what aws profile is currently used (find in in ~/.aws/credentials), then do the bootstrap with the command cdk bootstrap --profile profile-name before running aws deploy