Skip to content

Commit

Permalink
Enabling one NAT GW per AZ
Browse files Browse the repository at this point in the history
  • Loading branch information
gitkvark committed Dec 29, 2023
1 parent 140cb0b commit 97ff891
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions terraform/provisioning/modules/network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ module "vpc" {
private_subnets = var.private_subnets
public_subnets = var.public_subnets

enable_nat_gateway = true
single_nat_gateway = true
enable_dns_hostnames = true
enable_nat_gateway = true
single_nat_gateway = false
one_nat_gateway_per_az = true
enable_dns_hostnames = true

public_subnet_tags = {
"kubernetes.io/cluster/${var.cluster_name}" = "shared"
Expand Down

0 comments on commit 97ff891

Please sign in to comment.