Skip to content

Commit 79bf0c4

Browse files
committed
Add tags to root module
1 parent 587858c commit 79bf0c4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ module "tfm-aws-vpc" {
3232
public_subnets = ["10.0.128.0/20", "10.0.144.0/20", "10.0.160.0/20", "10.0.176.0/20", "10.0.240.0/22", "10.0.244.0/22"]
3333
private_subnets_A = ["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19", "10.0.96.0/19", "10.0.232.0/22", "10.0.236.0/22"]
3434
private_subnets_B = ["10.0.192.0/21", "10.0.200.0/21", "10.0.208.0/21", "10.0.216.0/21", "10.0.224.0/22", "10.0.228.0/22"]
35+
tags = var.tags
3536
}

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ variable "enable_dns_support" {
2727
default = true
2828
}
2929

30+
variable "tags" {
31+
default = {}
32+
description = "Vpc Tags"
33+
}
34+
3035
variable "instance_tenancy" {
3136
description = "A tenancy option for instances launched into the VPC"
3237
type = string

0 commit comments

Comments
 (0)