From 470011e4a69ac80ccb9813a3ce032bc272950094 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Wed, 22 May 2024 23:40:04 +0800 Subject: [PATCH] fix(aws): autoscaling condition key (#84) fix: autoscaling condition key --- modules/aws/files/bootstrap_role_iam_policy.json.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aws/files/bootstrap_role_iam_policy.json.tpl b/modules/aws/files/bootstrap_role_iam_policy.json.tpl index ff3500c..89fc6c3 100644 --- a/modules/aws/files/bootstrap_role_iam_policy.json.tpl +++ b/modules/aws/files/bootstrap_role_iam_policy.json.tpl @@ -114,7 +114,7 @@ "Resource": [ "*" ], "Condition": { "StringLike": { - "autoscaling:ResourceTag/cluster-name": "${cluster_pattern}" + "autoscaling:ResourceTag/eks:cluster-name": "${cluster_pattern}" } } },