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?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南