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 Answers
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
EXPERT
answered 5 months ago
  • 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
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions