Skip to content

Commit d153564

Browse files
committed
[Policies] Add ec2:DeleteTags to the pcluster user role as required by workflows updating the head node instance.
The permissions has been added to the public CFN template for permissions and in the role assumed by the test framework Signed-off-by: Giacomo Marciani <mgiacomo@amazon.com>
1 parent 66ee89b commit d153564

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cloudformation/policies/parallelcluster-policies.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ Resources:
362362
- ec2:CreateSecurityGroup
363363
- ec2:CreateSnapshot
364364
- ec2:CreateTags
365+
- ec2:DeleteTags
365366
- ec2:CreateVolume
366367
- ec2:DeleteLaunchTemplate
367368
- ec2:DeleteNetworkInterface

tests/iam_policies/user-role.cfn.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ Resources:
303303
- ec2:CreateSecurityGroup
304304
- ec2:CreateSnapshot
305305
- ec2:CreateTags
306+
- ec2:DeleteTags
306307
- ec2:CreateVolume
307308
- ec2:DeleteLaunchTemplate
308309
- ec2:DeleteNetworkInterface

0 commit comments

Comments
 (0)