Skip to content

Commit

Permalink
Add IAM policy elasticloadbalancing:DescribeTargetHealth
Browse files Browse the repository at this point in the history
This is necessary for `pcluster describe-cluster` to get healthy and unhealthy login nodes

Signed-off-by: Hanwen <hanwenli@amazon.com>
  • Loading branch information
hanwen-pcluste committed Sep 9, 2024
1 parent 943567b commit 0c71f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cloudformation/policies/parallelcluster-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ Resources:
- elasticloadbalancing:DescribeListeners
- elasticloadbalancing:DescribeLoadBalancers
- elasticloadbalancing:DescribeTargetGroups
- elasticloadbalancing:DescribeTargetHealth
- elasticloadbalancing:ModifyLoadBalancerAttributes
Resource: '*'
Condition:
Expand Down
1 change: 1 addition & 0 deletions tests/iam_policies/user-role.cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ Resources:
- elasticloadbalancing:DescribeListeners
- elasticloadbalancing:DescribeLoadBalancers
- elasticloadbalancing:DescribeTargetGroups
- elasticloadbalancing:DescribeTargetHealth
- elasticloadbalancing:ModifyLoadBalancerAttributes
Resource: '*'
Effect: Allow
Expand Down

0 comments on commit 0c71f5e

Please sign in to comment.