File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
stacks/prod/us-east-1/vpc Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,17 @@ module "vpc" {
10
10
enable_nat_gateway = true
11
11
enable_vpn_gateway = true
12
12
name = " prd-vpc"
13
+ private_subnet_tags = {
14
+ Tier = " private"
15
+ }
13
16
private_subnets = [
14
17
" 10.0.1.0/24" ,
15
18
" 10.0.2.0/24" ,
16
19
" 10.0.3.0/24" ,
17
20
]
21
+ public_subnet_tags = {
22
+ Tier = " public"
23
+ }
18
24
public_subnets = [
19
25
" 10.0.101.0/24" ,
20
26
" 10.0.102.0/24" ,
Original file line number Diff line number Diff line change @@ -24,6 +24,14 @@ generate_hcl "main.tf" {
24
24
enable_nat_gateway = tm_try (global. vpc . enable_nat_gateway , true )
25
25
enable_vpn_gateway = tm_try (global. vpc . enable_vpn_gateway , true )
26
26
27
+ public_subnet_tags = {
28
+ Tier = " public"
29
+ }
30
+
31
+ private_subnet_tags = {
32
+ Tier = " private"
33
+ }
34
+
27
35
tags = tm_try (global. tags , {})
28
36
}
29
37
}
You can’t perform that action at this time.
0 commit comments