DEV Community

Discussion on: Canary deployment of Lambdas using CDK Pipelines

Collapse
 
ryands17 profile image
Ryan Dsouza

Yes cdk boostrap is required before you deploy the app. I ran this in the following manner:

npx cdk bootstrap aws://1234567890/us-east-1
Enter fullscreen mode Exit fullscreen mode
Collapse
 
grenguar profile image
Igor Soroka

I think it should be done like that. Also old CDKToolkit should be deleted

npx cdk bootstrap aws://<account>/eu-west-1 --profile <profile> \
    --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess \
    aws://<account>/<region>
Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
ryands17 profile image
Ryan Dsouza

What profile are you using? This wasn't needed in my case as I am already using the new style of synthesis as shown here.