Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cloudformation/policies/parallelcluster-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ Resources:
- cloudwatch:DeleteAlarms
- cloudwatch:DescribeAlarms
- cloudwatch:PutCompositeAlarm
- cloudwatch:TagResource
- cloudwatch:UntagResource
Resource: '*'
Effect: Allow
Condition: !If
Expand Down
4 changes: 4 additions & 0 deletions tests/iam_policies/user-role.cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ Resources:
- cloudwatch:PutCompositeAlarm
- cloudwatch:DeleteAlarms
- cloudwatch:DescribeAlarms
- cloudwatch:TagResource
- cloudwatch:UntagResource
Resource: '*'
Effect: Allow
Condition: !If
Expand Down Expand Up @@ -992,6 +994,8 @@ Resources:
- cloudwatch:PutCompositeAlarm
- cloudwatch:DeleteAlarms
- cloudwatch:DescribeAlarms
- cloudwatch:TagResource
- cloudwatch:UntagResource
Resource: "*"
# - Effect: Allow # TODO: Refactor it, comment it out now to workaround exceeds quota for PolicySize: 6144
# Action:
Expand Down
2 changes: 2 additions & 0 deletions tests/integration-tests/tests/iam/test_iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ def _create_permission_boundary(permission_boundary_name):
"cloudwatch:PutCompositeAlarm",
"cloudwatch:DeleteAlarms",
"cloudwatch:DescribeAlarms",
"cloudwatch:TagResource",
"cloudwatch:UntagResource",
],
"Condition": {
"Fn::If": [
Expand Down
Loading