Now that our initial AWS CDK project has been created, it's time to deploy it!
In this quick lesson we're going to learn:
cdk diff
command in order to see the difference between our currently deployed stack and the stack we're about to deploycdk deploy
in order to deploy a CDK stack to AWSRunning cdk diff
error with:
"Unable to resolve AWS account to use. It must be either configured when you define your CDK or through the environment"
I assume we need to configure an account as a prerequisite?
Yes, I followed this AWS tutorial:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html