diff --git a/modules/aws_autoscaling/main.tf b/modules/aws_autoscaling/main.tf index be18d4e5..62c5999f 100644 --- a/modules/aws_autoscaling/main.tf +++ b/modules/aws_autoscaling/main.tf @@ -28,7 +28,7 @@ data "aws_iam_policy_document" "worker_autoscaling" { condition { test = "StringEquals" - variable = "autoscaling:ResourceTag/kubernetes.io/cluster/${var.cluster_name}" + variable = "autoscaling:ResourceTag/k8s.io/cluster-autoscaler/${var.cluster_name}" values = ["owned"] }