I’m having some trouble deploying <aws-team-roles>...
# atmos
r
I’m having some trouble deploying aws-team-roles component. The default providers from the upstream component tries to use the
OrganizationAccountAccessRole
but this role doesn’t seem to be modified to allow this role assumption. Is there a terraform component that modifies this existing role or does this role need to be modified manually for each account ?
I see this old module cloudposse/terraform-aws-organization-access-role but I don’t see it used anywhere in cloudposse-terraform-components
The issue is that we’re not allowed to create a SuperAdmin IAM user type permission so instead we have an Admin SSO role that can only be used on a per ticket request. Once I get access to the Admin SSO role, if I try to manually use
org-gbl-identity-admin
to deploy the component
Copy code
atmos terraform apply aws-team-roles --stack gbl-accountname
then what happens is that it says it cannot assume
OrganizationAccountAccessRole
role in the account i’m interested in deploying this to
a
do you need to modify the existing
OrganizationAccountAccessRole
? Check if it has
AdministratorAccess
policy. You prob don't need to modify it, you just need to add permissions to assume it to your other role
if you need to use the module https://github.com/cloudposse/terraform-aws-organization-access-role (you are correct, there is no TF component for it, which we need to fix), you can use TF modules as components in Atmos https://atmos.tools/core-concepts/vendor/component-manifest/#vendoring-modules-as-components