Skip to content

Commit

Permalink
fix(processing): fix iam policy for karpenter
Browse files Browse the repository at this point in the history
  • Loading branch information
lmouhib authored Sep 26, 2024
1 parent 028c2e8 commit 6c53ff2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export function karpenterSetup(cluster: ICluster,
`arn:aws:ec2:${Stack.of(scope).region}:*:volume/*`,
`arn:aws:ec2:${Stack.of(scope).region}:*:network-interface/*`,
`arn:aws:ec2:${Stack.of(scope).region}:*:launch-template/*`,
`arn:aws:ec2:${Stack.of(scope).region}:*:spot-instances-request`,
`arn:aws:ec2:${Stack.of(scope).region}:*:spot-instances-request/*`,
],
actions: ['ec2:RunInstances', 'ec2:CreateFleet', 'ec2:CreateLaunchTemplate'],
conditions: {
Expand Down

0 comments on commit 6c53ff2

Please sign in to comment.