1717# - deploy/tfstate: Deploy Terraform state backend
1818# - deploy/organization: Create AWS Organization
1919# - deploy/accounts: Provision AWS accounts
20- # - deploy/account-settings: Configure account settings
20+ # - deploy/aws- account-settings: Configure account settings
2121# - deploy/cloudtrail: Enable CloudTrail logging
2222# - deploy/ecr: Deploy ECR registry
2323#
@@ -29,17 +29,24 @@ workflows:
2929 - command : workflow init/tfstate -f quickstart/foundation/accounts
3030 - command : workflow deploy/tfstate -f quickstart/foundation/accounts
3131 - command : workflow deploy/organization -f quickstart/foundation/accounts
32+ - command : workflow deploy/organizational-units -f quickstart/foundation/accounts
3233 - command : workflow deploy/accounts -f quickstart/foundation/accounts
33- - command : workflow deploy/account-settings -f quickstart/foundation/accounts
34+ - command : workflow deploy/scps -f quickstart/foundation/accounts
35+ - command : workflow deploy/aws-account-settings -f quickstart/foundation/accounts
36+ - command : workflow deploy/budgets -f quickstart/foundation/accounts
3437 - command : workflow deploy/cloudtrail -f quickstart/foundation/accounts
3538 - command : workflow deploy/ecr -f quickstart/foundation/accounts
3639
3740 vendor :
3841 description : Vendor accounts layer components.
3942 steps :
40- - command : vendor pull --component account
43+ - command : vendor pull --component aws-organization
44+ - command : vendor pull --component aws-organizational-unit
45+ - command : vendor pull --component aws-account
46+ - command : vendor pull --component aws-scp
47+ - command : vendor pull --component aws-budget
4148 - command : vendor pull --component account-quotas
42- - command : vendor pull --component account-settings
49+ - command : vendor pull --component aws- account-settings
4350 - command : vendor pull --component cloudtrail
4451 - command : vendor pull --component cloudtrail-bucket
4552 - command : vendor pull --component ecr
@@ -62,29 +69,61 @@ workflows:
6269 description : |
6370 Deploy the AWS Organization. This is required before finishing the root account requirements.
6471 steps :
65- - command : terraform deploy account -target="aws_organizations_organization.this[0]" -s core-gbl-root
72+ - command : terraform deploy aws-organization -s core-gbl-root
6673 - command : aws ram enable-sharing-with-aws-organization
6774 type : shell
6875
76+ deploy/organizational-units :
77+ description : Deploy Organizational Units
78+ steps :
79+ - command : terraform deploy aws-organizational-unit/core -s core-gbl-root
80+ - command : terraform deploy aws-organizational-unit/plat -s core-gbl-root
81+
6982 deploy/accounts :
7083 description : Deploys all AWS Organization accounts
7184 steps :
72- - command : terraform apply account -s core-gbl-root
85+ - command : terraform deploy aws-account/core-artifacts -s core-gbl-root
86+ - command : terraform deploy aws-account/core-audit -s core-gbl-root
87+ - command : terraform deploy aws-account/core-auto -s core-gbl-root
88+ - command : terraform deploy aws-account/core-network -s core-gbl-root
89+ - command : terraform deploy aws-account/core-security -s core-gbl-root
90+ - command : terraform deploy aws-account/plat-dev -s core-gbl-root
91+ - command : terraform deploy aws-account/plat-sandbox -s core-gbl-root
92+ - command : terraform deploy aws-account/plat-staging -s core-gbl-root
93+ - command : terraform deploy aws-account/plat-prod -s core-gbl-root
94+
95+ deploy/scps :
96+ description : Deploy Service Control Policies
97+ steps :
98+ - command : terraform deploy aws-scp/deny-leaving-organization -s core-gbl-root
7399
74- deploy/account-settings :
100+ deploy/aws- account-settings :
75101 description : Apply AWS Account settings for best practices.
76102 steps :
77- - command : terraform deploy account-settings -s core-gbl-artifacts
78- - command : terraform deploy account-settings -s core-gbl-audit
79- - command : terraform deploy account-settings -s core-gbl-auto
80- - command : terraform deploy account-settings -s core-gbl-dns
81- - command : terraform deploy account-settings -s core-gbl-network
82- - command : terraform deploy account-settings -s core-gbl-root
83- - command : terraform deploy account-settings -s core-gbl-security
84- - command : terraform deploy account-settings -s plat-gbl-dev
85- - command : terraform deploy account-settings -s plat-gbl-prod
86- - command : terraform deploy account-settings -s plat-gbl-sandbox
87- - command : terraform deploy account-settings -s plat-gbl-staging
103+ - command : terraform deploy aws-account-settings -s core-gbl-artifacts
104+ - command : terraform deploy aws-account-settings -s core-gbl-audit
105+ - command : terraform deploy aws-account-settings -s core-gbl-auto
106+ - command : terraform deploy aws-account-settings -s core-gbl-network
107+ - command : terraform deploy aws-account-settings -s core-gbl-root
108+ - command : terraform deploy aws-account-settings -s core-gbl-security
109+ - command : terraform deploy aws-account-settings -s plat-gbl-dev
110+ - command : terraform deploy aws-account-settings -s plat-gbl-prod
111+ - command : terraform deploy aws-account-settings -s plat-gbl-sandbox
112+ - command : terraform deploy aws-account-settings -s plat-gbl-staging
113+
114+ deploy/budgets :
115+ description : Deploy budgets to all accounts
116+ steps :
117+ - command : terraform deploy aws-budget -s core-gbl-root
118+ - command : terraform deploy aws-budget -s core-gbl-artifacts
119+ - command : terraform deploy aws-budget -s core-gbl-audit
120+ - command : terraform deploy aws-budget -s core-gbl-auto
121+ - command : terraform deploy aws-budget -s core-gbl-network
122+ - command : terraform deploy aws-budget -s core-gbl-security
123+ - command : terraform deploy aws-budget -s plat-gbl-dev
124+ - command : terraform deploy aws-budget -s plat-gbl-sandbox
125+ - command : terraform deploy aws-budget -s plat-gbl-staging
126+ - command : terraform deploy aws-budget -s plat-gbl-prod
88127
89128 deploy/cloudtrail :
90129 description : Start AWS Cloudtrail in audit and root accounts to track changes across the org.
0 commit comments