Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions terraform-modules/aws/vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ module "vpc" {
enable_dns_hostnames = var.enable_dns_hostnames
enable_dns_support = var.enable_dns_support

create_elasticache_subnet_route_table = var.create_elasticache_subnet_route_table

public_subnet_tags = {
"kubernetes.io/cluster/${var.cluster_name}" = "shared"
"kubernetes.io/role/elb" = "1"
Expand Down
6 changes: 6 additions & 0 deletions terraform-modules/aws/vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,9 @@ variable "external_nat_ip_ids" {
type = list(string)
default = []
}

variable "create_elasticache_subnet_route_table" {
description = "Controls if separate route table for elasticache should be created"
type = bool
default = true
}