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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ