Skip to content

Commit

Permalink
Merge pull request #14 from architlatkar27/DWX-17678
Browse files Browse the repository at this point in the history
DWX-17678: Add iam:TagRole to restricted mode
  • Loading branch information
roohisyeda committed Apr 25, 2024
2 parents 3ae7b2d + f786da1 commit e499810
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions aws-iam-policies/docs/restricted-policy-doc-2.json5
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,20 @@
"aws:CalledVia": "cloudformation.amazonaws.com"
}
}
},
{
"Sid": "TagRoleRestriction",
"Effect": "Allow",
"Action": [
// used by Cloudformation to tag EKSServiceRole and NodeInstanceRole
"iam:TagRole"
],
"Resource": "*",
"Condition": {
"ForAnyValue:StringEquals": {
"aws:CalledVia": "cloudformation.amazonaws.com"
}
}
}
]
}

0 comments on commit e499810

Please sign in to comment.