diff --git a/main.tf b/main.tf index cc2e440..7214301 100644 --- a/main.tf +++ b/main.tf @@ -24,7 +24,7 @@ resource "aws_route53_zone" "cluster_domain" { force_destroy = false vpc { - vpc_id = local.is_shared_vpc ? data.aws_vpc.dummy_vpc.id : data.aws_vpc.eks_vpc.id + vpc_id = local.is_shared_vpc ? data.aws_vpc.dummy_vpc[0].id : data.aws_vpc.eks_vpc.id vpc_region = local.region }