Skip to content

Commit 6217d0e

Browse files
authored
fix: Snapshot permissions issue for Karpenter submodule (#2649)
fix: snapshot permirrions issue for karpenter submodule
1 parent a2fb28e commit 6217d0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/karpenter/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ data "aws_iam_policy_document" "irsa" {
122122
actions = ["ec2:RunInstances"]
123123
resources = [
124124
"arn:${local.partition}:ec2:*::image/*",
125+
"arn:${local.partition}:ec2:*::snapshot/*",
125126
"arn:${local.partition}:ec2:*:${local.account_id}:instance/*",
126127
"arn:${local.partition}:ec2:*:${local.account_id}:spot-instances-request/*",
127128
"arn:${local.partition}:ec2:*:${local.account_id}:security-group/*",

0 commit comments

Comments
 (0)