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 réponse
1
Réponse acceptée

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
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions