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 ?

已提問 6 個月前檢視次數 295 次
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 個月前

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

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

回答問題指南