Skip to content

Commit 3486db7

Browse files
committed
VPC Internal NAT
1 parent f0e4483 commit 3486db7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

terraform-modules/aws/vpc/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ module "vpc" {
2323
enable_dns_hostnames = var.enable_dns_hostnames
2424
enable_dns_support = var.enable_dns_support
2525

26+
create_elasticache_subnet_route_table = var.create_elasticache_subnet_route_table
27+
2628
public_subnet_tags = {
2729
"kubernetes.io/cluster/${var.cluster_name}" = "shared"
2830
"kubernetes.io/role/elb" = "1"

terraform-modules/aws/vpc/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,9 @@ variable "external_nat_ip_ids" {
7474
type = list(string)
7575
default = []
7676
}
77+
78+
variable "create_elasticache_subnet_route_table" {
79+
description = "Controls if separate route table for elasticache should be created"
80+
type = bool
81+
default = false
82+
}

0 commit comments

Comments
 (0)