-
Notifications
You must be signed in to change notification settings - Fork 18
02 iam demo
Paul Duvall edited this page Dec 17, 2020
·
38 revisions
Unit testing IAM policies across multiple accounts
Managing AWS Organizations using the open source org-formation tool — Part 1
npm i aws-organization-formation -g
org-formation init organization.yml --region us-east-1
org-formation update organization.yml
cd iam-policy-tester-pipeline
aws codecommit create-repository --repository-name sample-lambda --repository-description "Sample Lambda Function"
git init && git remote add AWSCodeCommit https://git-codecommit.us-east-1.amazonaws.com/v1/repos/sample-lambda
You need to specify the user, group, or role whose policies you want to include in the simulation. To do this, within the sample-lambda
directory, modify the value in scripts/source.txt
file.
git add *
git commit -am "Initialize the Sample Lambda repository"
git push AWSCodeCommit master
chmod +x single-click-cross-account-pipeline.sh && ./single-click-cross-account-pipeline.sh