Thanks for the article!
How have you done cdk deploy? For me CloudFormation deployment stage is failing because it cannot create Lambda roles. How have you done the cdk bootstrap?
cdk bootstrap
Yes cdk boostrap is required before you deploy the app. I ran this in the following manner:
cdk boostrap
npx cdk bootstrap aws://1234567890/us-east-1
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>
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.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the article!
How have you done cdk deploy? For me CloudFormation deployment stage is failing because it cannot create Lambda roles. How have you done the
cdk bootstrap
?Yes
cdk boostrap
is required before you deploy the app. I ran this in the following manner:I think it should be done like that. Also old CDKToolkit should be deleted
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.