Skip to content

Commit

Permalink
fix(aws-iam): Adding addPrincipalsToAssumedBy() to allow adding more …
Browse files Browse the repository at this point in the history
…principals to TrustRelationship of Role to overcome limitation of grantAssumeRole() (aws#22550)
  • Loading branch information
stm29 committed Aug 17, 2024
1 parent 751a922 commit 7e0658e
Show file tree
Hide file tree
Showing 11 changed files with 227 additions and 39 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,42 @@
"Version": "2012-10-17"
}
}
},
"TestRoleExtend463E7146": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"AWS": {
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":iam::",
{
"Ref": "AWS::AccountId"
},
":root"
]
]
},
"Service": [
"ec2.amazonaws.com",
"sqs.amazonaws.com"
]
}
}
],
"Version": "2012-10-17"
}
}
}
},
"Parameters": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7e0658e

Please sign in to comment.