Step Functions to CloudFormation StackSets

Create a Step Functions workflow to create/delete CloudFormation StackSets in Root Organization unit's linked accounts.

The CDK application deploys a Step Functions workflow that takes in a user input, and creates/deletes the StackSets instances in all the linked AWS Accounts for the root Organizational Unit (OU).
There are two main flows - to create a StackSet or to delete a StackSet. Each flow also creates or deletes the StackSet instances, checks the progress of stackset instance operations, and retries until stackset instances are created/deleted successfully.
The Step Function workflow requires specific input parameters when triggering the execution, as described in the README.

< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/sfn-cfn-stacksets-workflow-cdk/cd step-functions-workflows-collection/sfn-cfn-stacksets-workflow-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: cdk destroy.

Created by:

Akshay Singhal

Akshay Singhal is a Sr. Technical Account Manager (TAM) for AWS Enterprise Support focusing on the Security ISV (Independent Software Vendors) segment and loves everything serverless.

Follow on LinkedIn