-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing build-account-id option on init #592
Comments
thanks for posting this! so you have a problem with your state file and you would like to reinit: create a new organiation.yml file + state file to fix this. both the Both commands should allow you to pass in the name of the role it should try and assume in member accounts using the the could you expand on the manual work you refer to? |
Thank you for your quick response. Currently, the cicd to perform updates connects with the non-management account and assumes the role defined as the "DefaultBuildAccessRoleName" in the organization.yaml in the management account id defined in the .org-formationrc. As a result, the state.json and change-sets are stored in an s3 bucket in the non-management account. With the init, I need to do it directly on the management account. The two main downsides of that are:
I hope this makes it more clear? Maybe good to note I wasn't there when things got initially set up, so the above method is just me understand how things work now. |
first, i think the changeset thing is a bug/regression as we changed some iam internals recently. i am happy to look into that separately. back to this issue: the state file will be stored in whichever bucket is specified when running the init (using just to clarify, how often do you expect to run init? |
Subject of the issue
Recently, we had to re-init our orgformation as the state-file got out of sync. However, there is no option to define the build-account-id on the
org-formation init
which we need for our setup. Moreover, we cannot define the role it needs to assume in the management account, which we would normally have defined in the organization.yml as the DefaultBuildAccessRoleName. Is there a reason why this is not possible on the init? Can this be added? Now it requires quite some manual work.The text was updated successfully, but these errors were encountered: