Skip to content

Commit

Permalink
fix: Snapshot permissions issue for Karpenter submodule (#2649)
Browse files Browse the repository at this point in the history
fix: snapshot permirrions issue for karpenter submodule
  • Loading branch information
sanjinp authored Jun 9, 2023
1 parent a2fb28e commit 6217d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/karpenter/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ data "aws_iam_policy_document" "irsa" {
actions = ["ec2:RunInstances"]
resources = [
"arn:${local.partition}:ec2:*::image/*",
"arn:${local.partition}:ec2:*::snapshot/*",
"arn:${local.partition}:ec2:*:${local.account_id}:instance/*",
"arn:${local.partition}:ec2:*:${local.account_id}:spot-instances-request/*",
"arn:${local.partition}:ec2:*:${local.account_id}:security-group/*",
Expand Down

0 comments on commit 6217d0e

Please sign in to comment.