Adding tags to subnets

This commit is contained in:
Jonathan Simon
2019-11-24 21:19:03 -08:00
parent 306f577fb9
commit 08b6ae968f

View File

@@ -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}"
}
}