Cdk deploy in pipeline example?


I’m looking for examples on how to deploy a CDK stack in a CI/CD pipeline.

The pipeline (running in bitbucket) assumes a role via OIDC - and I’m having trouble getting this web-identity role to assume the CDK roles.

Any examples you could share would be highly appreciated!

  • Hi Georg, could you include more information about the errors you're encountering assuming your IAM roles from your Bitbucket pipeline? Errors or Console output?

asked 2 years ago958 views
1 Answer

If you want to deploy CDK stacks to the other account using assume-role, please refer to my repository -

Particularly, "createInstallCommands()" method in will be useful to you.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions