From a1ea2cdac2548c196b73b297823f4ed82caf18fc Mon Sep 17 00:00:00 2001 From: jbonnier Date: Fri, 27 Oct 2023 09:53:19 -0400 Subject: [PATCH] fix: Fix bug with being used even when count is 0 --- README.md | 2 +- main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 531e176..9bf5147 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ module "ecs_cluster" { | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.21.0 | +| [aws](#provider\_aws) | >= 3.0 | ## Modules | Name | Source | Version | diff --git a/main.tf b/main.tf index 17c9262..2644ea7 100644 --- a/main.tf +++ b/main.tf @@ -110,7 +110,7 @@ module "lb" { access_logs_enabled = var.alb_access_logs_enabled access_logs_force_destroy = var.alb_access_logs_force_destroy access_logs_prefix = var.alb_access_logs_prefix - vpc_id = data.aws_subnet.lb.0.vpc_id + vpc_id = join("", data.aws_subnet.lb.*.vpc_id) context = module.this.context }