diff --git a/tf-modulised/vpc-subnets/provider.tf b/tf-modulised/vpc-subnets/provider.tf index 843e184..a84511d 100644 --- a/tf-modulised/vpc-subnets/provider.tf +++ b/tf-modulised/vpc-subnets/provider.tf @@ -8,3 +8,5 @@ provider "aws" { region = var.aws_region version = ">= 2.28.1" } + +variable "default-tags" {} diff --git a/tf-modulised/vpc-subnets/vpc.tf b/tf-modulised/vpc-subnets/vpc.tf index 8a3e9c7..22ae18f 100644 --- a/tf-modulised/vpc-subnets/vpc.tf +++ b/tf-modulised/vpc-subnets/vpc.tf @@ -23,13 +23,7 @@ module "vpc" { single_nat_gateway = true enable_dns_hostnames = true - tags = { - "owner" = "KF" - "terraform" = "initial-deployment-only" - "environment" = "demo" - "project" = "project1" - "application" = "network" - } + tags = var.default-tags }