From cc1f2b5bb9a57c5abfd47bf6d72b10fb78a86631 Mon Sep 17 00:00:00 2001 From: msglover Date: Wed, 8 Dec 2021 13:45:19 -0500 Subject: [PATCH] Adding VPC ID parameter VPC ID needed for ALB target group setup --- terraform/webcms/shared.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/webcms/shared.tf b/terraform/webcms/shared.tf index a911f6c226..7a22383937 100644 --- a/terraform/webcms/shared.tf +++ b/terraform/webcms/shared.tf @@ -1,5 +1,9 @@ #region VPC +data "aws_ssm_parameter" "vpc_id" { + name = "/webcms/${var.environment}/vpc/id" +} + data "aws_ssm_parameter" "private_subnets" { name = "/webcms/${var.environment}/vpc/private-subnets" }