1414# - all: Deploy complete accounts layer
1515# - vendor: Pull required components
1616# - init/tfstate: Initialize Terraform state backend (first-time only)
17+ # - deploy/iam-quota: Request IAM role trust policy size quota increase
1718# - deploy/tfstate: Deploy Terraform state backend
1819# - deploy/organization: Create AWS Organization
1920# - deploy/accounts: Provision AWS accounts
@@ -26,6 +27,7 @@ workflows:
2627 description : Deploy complete accounts layer
2728 steps :
2829 - command : workflow vendor -f quickstart/foundation/accounts
30+ - command : workflow deploy/iam-quota -f quickstart/foundation/accounts
2931 - command : workflow init/tfstate -f quickstart/foundation/accounts
3032 - command : workflow deploy/tfstate -f quickstart/foundation/accounts
3133 - command : workflow deploy/organization -f quickstart/foundation/accounts
@@ -53,6 +55,21 @@ workflows:
5355 type : shell
5456 - command : terraform deploy tfstate-backend -var="access_roles_enabled=false" --stack core-use1-root --init-run-reconfigure=false
5557
58+ deploy/iam-quota :
59+ description : |
60+ Request an increase to the IAM role trust policy size limit.
61+ The default limit is 2048 characters. Listing explicit ARNs in the
62+ tfstate-backend trust policies follows the principle of least privilege
63+ but produces larger policies that may exceed the default limit.
64+ steps :
65+ - command : |
66+ aws service-quotas request-service-quota-increase \
67+ --service-code iam \
68+ --quota-code L-C07B4B0D \
69+ --desired-value 4096 \
70+ --region us-east-1
71+ type: shell
72+
5673 deploy/tfstate :
5774 description : Deploy Terraform State Backend.
5875 steps :
0 commit comments