Skip to content

02 iam demo

Paul Duvall edited this page Dec 21, 2020 · 38 revisions

Deploying AWS Organizations as Code

From your Cloud9 Terminal, run the following commands:

Install org-formation

npm i aws-organization-formation -g

Initialize an organization.yml

Create an organization.yml file:

touch organization.yml

Open the organization.yml file and insert the contents from organization.yml.

Save the file.

Run this command:

org-formation init organization.yml --region us-east-1

Make changes to the organization.yml

Run these commands:

org-formation create-change-set organization.yml --change-set-name my-change-set
org-formation execute-change-set my-change-set --print-stack
Clone this wiki locally