LoginSignup
1
0

More than 1 year has passed since last update.

AWS StepfunctionsでCloudFormationスタックをシリアルに実行する

Last updated at Posted at 2021-08-13

はじめに

AWS StepfunctionsとLambdaでCloudFormationスタックをシリアルに実行するステートマシンを作成しました。(実行したスタックが完了するまで次のスタックは実行しません)
これは以前作成したスクリプトをサーバレスで実行できるように改善したものになります。

ソース

作成したソースはgithubに格納しました。作り方も詳細は、githubの readme.md に記載しました。

Stepfunctions ステートマシン

作成したステートマシンと各フローの処理概要です。

image.png


余談
Stepfunctionsってグローバル変数使えない?
グローバル変数を使わずにやりくりする方法がわからず苦労しました。

[2021/09/20] Stepfunctions ステートマシンの改良

CloudFormation以外の処理も実行できるよう仕組みを追加

画像1.png


1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0