About AWS CDK CI/CD

0

We use AWS CDK to build and manage our AWS environment. We have split accounts by use and manage nearly 100 accounts apart from security accounts and other administrative accounts.

We are regularly updating the existing mechanism in accordance with continuous updates of AWS services, but we are no longer able to respond in a timely manner because we are performing equivalent processing for nearly 100 accounts.

I know that CDK and multi-account configurations are already being used by many companies, but how are you resolving this kind of operational burden? I am wondering if it is possible to trigger pull request approval and automatically perform tests using fine-grained assersions and cdk diff, and if there are no problems, automatically deploy to all accounts. I am wondering how it is done in the world in general.

Best Regards,

已提问 1 年前266 查看次数
1 回答
1
已接受的回答

Hi, you have a practical cross-account / cross region example here: https://github.com/aws-samples/multiple-account-cdk-cicd-pipeline

Additionally, CDK-based Stacksets are on the way:

They are based on CFN Stacksets, which would be the best solution to your question if you were in CFN environment without CDK. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html

Hope it helps!

profile pictureAWS
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
  • Thanks for the reply.

    Am I correct in understanding that a solution (CFN Stacksets) exists for a CFN environment without CDK, but no solution exists for CDK-based stacksets in preparation?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则