UPD: externalised tags

This commit is contained in:
xpk 2020-08-02 17:44:28 +08:00
parent 1c4729d97e
commit 22e40852cb
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
2 changed files with 3 additions and 7 deletions

View File

@ -8,3 +8,5 @@ provider "aws" {
region = var.aws_region
version = ">= 2.28.1"
}
variable "default-tags" {}

View File

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