Reputation: 658
After setting up AWS Organizations, I created a member account with a custom IAM role name. I've now forgotten the role name used and I'm unable to assume role as root into that account. I need to create IAM users in the member account but without the ability to assume role using the custom OrganizationAccountAccessRole
it seems I'm unable to.
I've tried getting access by
IAMFullAccess
and AdministratorAccess
policies attached to the policy set but user cannot access IAM. At this point, I'm thinking the only way out is to recreate the member account. Please tell me there is a better way.
UPDATE: - Found that 1 & 2 didn't work because of a restrictive Service Control Policy (SCP) on the account which didn't include IAM access permissions.
Upvotes: 3
Views: 1312
Reputation: 238309
Based on the comments.
The solution was to inspect CloudTrial
logs to find the API call used to create the role.
Upvotes: 4