From 6217d0eaab4c864ec4d40a31538e78a7fbcee5e3 Mon Sep 17 00:00:00 2001 From: sanjinp <34198911+sanjinp@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:08:34 +0200 Subject: [PATCH] fix: Snapshot permissions issue for Karpenter submodule (#2649) fix: snapshot permirrions issue for karpenter submodule --- modules/karpenter/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/karpenter/main.tf b/modules/karpenter/main.tf index 53ee84f818..19399ce99d 100644 --- a/modules/karpenter/main.tf +++ b/modules/karpenter/main.tf @@ -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/*",