Skip to content

Commit 5ba4fea

Browse files
milldrgithub-actions[bot]
authored andcommitted
(github actions) generated latest snippets
1 parent 9471b51 commit 5ba4fea

File tree

1 file changed

+18
-0
lines changed
  • examples/snippets/stacks/workflows/quickstart/foundation

1 file changed

+18
-0
lines changed

examples/snippets/stacks/workflows/quickstart/foundation/accounts.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
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,22 @@ 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, max is 4096. Listing explicit ARNs
62+
in the tfstate-backend trust policies follows the principle of least
63+
privilege but produces larger policies that may exceed the default limit.
64+
steps:
65+
- command: |
66+
atmos auth exec --identity core-root/terraform -- \
67+
aws service-quotas request-service-quota-increase \
68+
--service-code iam \
69+
--quota-code L-C07B4B0D \
70+
--desired-value 4096 \
71+
--region us-east-1
72+
type: shell
73+
5674
deploy/tfstate:
5775
description: Deploy Terraform State Backend.
5876
steps:

0 commit comments

Comments
 (0)