Skip to content
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

resource: use current user if in management account #68

Merged
merged 2 commits into from
May 10, 2024

Conversation

dschofie
Copy link
Member

In the management account if we try to assume the
OrganizationAccountAccessRole and fail we should use the default
credentials and assume they are in the management account.

The OrganizationAccountAccessRole is created by default in child
accounts, but not in the management account.

@dschofie dschofie force-pushed the dschofie/dont_assume_role_in_mgmt branch 3 times, most recently from 28305e7 to d421d94 Compare May 10, 2024 20:09
@dschofie dschofie changed the title resource: use sts.Creds instead of role resource: use current user if in management account May 10, 2024
@dschofie dschofie force-pushed the dschofie/dont_assume_role_in_mgmt branch from 95e5c62 to 8879ff3 Compare May 10, 2024 20:28
dschofie added 2 commits May 10, 2024 16:34
In the management account if we try to assume the
OrganizationAccountAccessRole and fail we should use the default
credentials and assume they are in the management account.

The OrganizationAccountAccessRole is created by default in child
accounts, but not in the management account.
@dschofie dschofie force-pushed the dschofie/dont_assume_role_in_mgmt branch from 8879ff3 to b3696ae Compare May 10, 2024 20:34
@dschofie dschofie merged commit dbf96dd into main May 10, 2024
2 checks passed
@dschofie dschofie deleted the dschofie/dont_assume_role_in_mgmt branch May 10, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant