Skip to content

Files

Latest commit

Jake PageJake Page
and
Aug 10, 2022
aa8b4ce · Aug 10, 2022

History

History
16 lines (14 loc) · 491 Bytes

assume-target-account-role.md

File metadata and controls

16 lines (14 loc) · 491 Bytes

Create policy and attach it to the ADMIN role to be able to assume the target DEV role.

  1. Choose a name for the policy i.e "assume-target-account-role-policy".

     {
         "Version": "2012-10-17",
         "Statement": [
             {
                 "Effect": "Allow",
                 "Action": "sts:AssumeRole",
                 "Resource": "arn:aws:iam::${DEV_ACCOUNT_ID}:role/${ROLE_NAME}"
             }
         ]
     }