Skip to content

Commit

Permalink
Update cloud NAT region
Browse files Browse the repository at this point in the history
Bugfix cloud nat region
  • Loading branch information
umeshkumhar authored Dec 2, 2024
1 parent af92576 commit 915a631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ module "cloud-nat" {
source = "terraform-google-modules/cloud-nat/google"
version = "5.0.0"
count = var.create_network && var.private_cluster ? 1 : 0
region = var.region
region = local.region
project_id = var.project_id
create_router = true
router = "${var.network_name}-router"
Expand Down

0 comments on commit 915a631

Please sign in to comment.