Cdk deploy in pipeline example?

1

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?

Georg
질문됨 2년 전1016회 조회
1개 답변
1

If you want to deploy CDK stacks to the other account using assume-role, please refer to my repository - https://github.com/aws-samples/aws-cdk-deploy-pipeline-using-aws-codepipeline.

Particularly, "createInstallCommands()" method in https://github.com/aws-samples/aws-cdk-project-template-for-devops/blob/main/lib/template/construct/pattern/pipeline-simple-pattern.ts will be useful to you.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠