Skip to content

Commit e499810

Browse files
authored
Merge pull request #14 from architlatkar27/DWX-17678
DWX-17678: Add iam:TagRole to restricted mode
2 parents 3ae7b2d + f786da1 commit e499810

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

aws-iam-policies/docs/restricted-policy-doc-2.json5

+14
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,20 @@
251251
"aws:CalledVia": "cloudformation.amazonaws.com"
252252
}
253253
}
254+
},
255+
{
256+
"Sid": "TagRoleRestriction",
257+
"Effect": "Allow",
258+
"Action": [
259+
// used by Cloudformation to tag EKSServiceRole and NodeInstanceRole
260+
"iam:TagRole"
261+
],
262+
"Resource": "*",
263+
"Condition": {
264+
"ForAnyValue:StringEquals": {
265+
"aws:CalledVia": "cloudformation.amazonaws.com"
266+
}
267+
}
254268
}
255269
]
256270
}

0 commit comments

Comments
 (0)