diff --git a/main.tf b/main.tf index 54186db5..62128f07 100644 --- a/main.tf +++ b/main.tf @@ -2793,8 +2793,8 @@ data "aws_iam_policy_document" "karpenter" { condition { test = "StringLike" - variable = "ec2:ResourceTag/Name" - values = ["*karpenter*"] + variable = "ec2:ResourceTag/karpenter.sh/provisioner-name" + values = ["*"] } }