diff --git a/variables.tf b/variables.tf index df7b68f..6bdf2b3 100644 --- a/variables.tf +++ b/variables.tf @@ -184,6 +184,5 @@ variable "tags" { description = "Tags to add to all created resources" default = { "peinser-lz:tf-managed" = "true" - "peinser-lz:env" = var.env } } \ No newline at end of file diff --git a/vpc.tf b/vpc.tf index 3b318ee..3e8f517 100644 --- a/vpc.tf +++ b/vpc.tf @@ -91,5 +91,8 @@ module "vpc" { database_route_table_tags = { Name = "${var.env}-rt-database" } # Generic tags applied to all resources - tags = var.tags + tags = merge( + var.tags, + { "peinser:lz-env" = var.env } + ) } \ No newline at end of file