Integration multiple cloudformation stackset with step function

0

I have around 10 cloudformation stacksets, I need to run these stacksets to new accounts 1 by 1 in order. I would like to use aws stepfunction to run stackset 1 by 1. could anyone share your inputs if this can be achieved ?

2개 답변
0

Hi,

You can easily create stacks cross-regions and cross-accounts from 1 central account: see https://aws.amazon.com/blogs/infrastructure-and-automation/multiple-account-multiple-region-aws-cloudformation/

You can easily create the stacksets in sequence by simply having a Step Function (or even a simple lambda) iterating on a Lambda executed in central account to launch each of the stacksets in sequence.

Best,

Didier

profile pictureAWS
전문가
답변함 6달 전
  • Actually stacksets already exists. We just need to deploy stacks to new accounts. still can we use step function to iterate this ?

0

Have you thought about using Nested Stacks so that they run in order?

Once you have created a stack set in the Management account, any new account which joins the Org will have them executed automaticlly in the correct order?

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html

profile picture
전문가
답변함 6달 전

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

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

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

관련 콘텐츠