From edf22d6cc1bf3cb63b19096851e6cb650863d689 Mon Sep 17 00:00:00 2001 From: jarpat Date: Tue, 28 Nov 2023 09:37:27 -0500 Subject: [PATCH] bump address and cloud-nat --- modules/google_vm/main.tf | 2 +- network.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/google_vm/main.tf b/modules/google_vm/main.tf index 7047380..6737499 100755 --- a/modules/google_vm/main.tf +++ b/modules/google_vm/main.tf @@ -3,7 +3,7 @@ module "address" { source = "terraform-google-modules/address/google" - version = "3.1.3" + version = "3.2.0" project_id = var.project region = var.region address_type = "EXTERNAL" diff --git a/network.tf b/network.tf index a679084..ed79cf9 100644 --- a/network.tf +++ b/network.tf @@ -11,7 +11,7 @@ data "google_compute_address" "nat_address" { module "nat_address" { count = length(var.nat_address_name) == 0 ? 1 : 0 source = "terraform-google-modules/address/google" - version = "3.1.3" + version = "3.2.0" project_id = var.project region = local.region address_type = "EXTERNAL" @@ -31,8 +31,8 @@ module "cloud_nat" { router = "${var.prefix}-router" network = module.vpc.network_self_link nat_ips = module.nat_address[0].self_links - # TODO CHANGE DEFAULT? see https://github.com/terraform-google-modules/terraform-google-cloud-nat/releases/tag/v5.0.0 - # TODO UPDATE DEFAULTS and wait for TPG 5.0.0 support + # this was disabled by default in v5.0.0, setting to true to retain previous behavior + enable_endpoint_independent_mapping = true } module "vpc" {