From 27d4e032a4aae94b330743d45a25240268e40367 Mon Sep 17 00:00:00 2001 From: HyunSu1768 Date: Tue, 9 Jul 2024 08:13:49 +0900 Subject: [PATCH] =?UTF-8?q?bug=20::=20=EC=98=A4=ED=83=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/eks-cluster-v2/data.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/eks-cluster-v2/data.tf b/modules/eks-cluster-v2/data.tf index 04db790..23f02bd 100644 --- a/modules/eks-cluster-v2/data.tf +++ b/modules/eks-cluster-v2/data.tf @@ -20,7 +20,7 @@ data "aws_subnet" "this" { data "aws_subnet" "public" { for_each = { - for id in data.aws_subnets.all.ids : id => id if data.aws_subnet.this[id].map_public_ip_on_launch + for id in data.aws_subnets.this.ids : id => id if data.aws_subnet.this[id].map_public_ip_on_launch } id = each.value }