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 }