From 08b6ae968f8d82798be7601d791d9718f670e5de Mon Sep 17 00:00:00 2001 From: Jonathan Simon Date: Sun, 24 Nov 2019 21:19:03 -0800 Subject: [PATCH] Adding tags to subnets --- terraform/aws/vpc.tf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/terraform/aws/vpc.tf b/terraform/aws/vpc.tf index d6c8025..0e8fc5a 100644 --- a/terraform/aws/vpc.tf +++ b/terraform/aws/vpc.tf @@ -20,4 +20,18 @@ module "vpc" { Terraform = "true" Environment = "${local.environment}" } + + private_subnet_tags = { + Name = "private-${var.prefix}-${var.name}" + Terraform = "true" + Environment = "${local.environment}" + + } + + public_subnet_tags = { + Name = "public-${var.prefix}-${var.name}" + Terraform = "true" + Environment = "${local.environment}" + } + }