Skip to content

Commit 289f71d

Browse files
authored
Merge pull request #3 from josephphyo/jose/mod-switch-role
chore: Add iam policy for assume role with external-id
2 parents aff0998 + 362e2e4 commit 289f71d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"Version": "2012-10-17",
3+
"Statement": [
4+
{
5+
"Action": "sts:AssumeRole",
6+
"Condition": {
7+
"StringEquals": {
8+
"sts:ExternalId": "External-ID"
9+
}
10+
},
11+
"Effect": "Allow",
12+
"Resource": "arn:aws:iam::ASSUME_DESTINATION_AWS_ACCOUNT_ID:role/role-name"
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)