Skip to content

Instantly share code, notes, and snippets.

@zined
Created November 23, 2017 12:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zined/a2e5c446514ebca5d3b1d7c3d479fb83 to your computer and use it in GitHub Desktop.
Save zined/a2e5c446514ebca5d3b1d7c3d479fb83 to your computer and use it in GitHub Desktop.
stackset-testing

Enforce CloudTrail in Child Accounts via Cloudformation Cross-Account StackSets

Prepare StackSet IAM Roles

Following http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html

  • Login to Parent Account and Launch Stack (open in new Tab)
  • Write down Parent Account Id (we need it later)
  • For each Child Account, Login to Child Account and Launch Stack (open in new Tab)

Create StackSet to enforce CloudTrail in all Child-Accounts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment