-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Step 5 of the README says that:
In this step, you run OrgFormation locally using the credentials of the root user of the management account
however running the update
command gives me this result:
> org-formation update ./src/organization.yml --verbose "--profile" "dangerous"
WARN: Hi there!
WARN: You just ran into an error when assuming the role OrganizationFormationBuildAccessRole in account x.
WARN: Possibly, this is due a breaking change in org-formation v0.9.15.
WARN: From v0.9.15 onwards the org-formation cli will assume a role in every account it deploys tasks to.
WARN: This will make permission management and SCPs to deny / allow org-formation tasks easier.
WARN: More information: https://github.com/org-formation/org-formation-cli/tree/master/docs/0.9.15-permission-change.md
WARN: Thanks!
WARN: ======================================
ERROR: error: AccessDenied, aws-request-id: x
ERROR: Roles may not be assumed by root accounts.
(I think the warning is irrelevant in this case.)
I believe I could workaround this by creating an IAM account and specifying it as one of the assumeRolePrincipals
for the next step:
aws cloudformation create-stack --stack-name org-formation-role --template-body file://src/templates/000-org-build/role.yml
Is this what I should be doing? Or have I likely got something else wrong?
Metadata
Metadata
Assignees
Labels
No labels