Skip to content

Commit

Permalink
Add the SSM Managed Instance Core Policy to the permission boundary w…
Browse files Browse the repository at this point in the history
…hen testing IAM resource prefixes

Signed-off-by: Eddy Mwiti <[email protected]>
(cherry picked from commit d746f75)
  • Loading branch information
EddyMM authored and lukeseawalker committed Nov 30, 2023
1 parent 0ae6bd1 commit 8603bc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration-tests/tests/iam/test_iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,8 @@ def _create_permission_boundary(permission_boundary_name):
],
"Effect": "Allow",
"Resource": [
{"Fn::Sub": "arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${CustomIamNamePrefix}*"}
{"Fn::Sub": "arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${CustomIamNamePrefix}*"},
{"Fn::Sub": "arn:${AWS::Partition}:iam::aws:policy/AmazonSSMManagedInstanceCore"},
],
},
],
Expand Down

0 comments on commit 8603bc0

Please sign in to comment.