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 Antworten
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
EXPERTE
beantwortet vor 6 Monaten
  • 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
EXPERTE
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen