Skip to content

Commit

Permalink
bump address and cloud-nat
Browse files Browse the repository at this point in the history
  • Loading branch information
jarpat committed Nov 28, 2023
1 parent 59f1441 commit edf22d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/google_vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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" {
Expand Down

0 comments on commit edf22d6

Please sign in to comment.