diff --git a/3-networks-hub-and-spoke/modules/transitivity/main.tf b/3-networks-hub-and-spoke/modules/transitivity/main.tf index 95f74693e1..82c075b964 100644 --- a/3-networks-hub-and-spoke/modules/transitivity/main.tf +++ b/3-networks-hub-and-spoke/modules/transitivity/main.tf @@ -36,7 +36,7 @@ module "service_account" { module "templates" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 8.0" + version = "~> 9.0" for_each = toset(var.regions) can_ip_forward = true @@ -64,7 +64,7 @@ module "templates" { module "migs" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 8.0" + version = "~> 9.0" for_each = toset(var.regions) project_id = var.project_id diff --git a/5-app-infra/modules/env_base/main.tf b/5-app-infra/modules/env_base/main.tf index 303dda4047..f22851fc57 100644 --- a/5-app-infra/modules/env_base/main.tf +++ b/5-app-infra/modules/env_base/main.tf @@ -44,7 +44,7 @@ resource "google_service_account" "compute_engine_service_account" { module "instance_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 8.0" + version = "~> 9.0" machine_type = var.machine_type region = var.region @@ -63,7 +63,7 @@ module "instance_template" { module "compute_instance" { source = "terraform-google-modules/vm/google//modules/compute_instance" - version = "~> 8.0" + version = "~> 9.0" region = var.region subnetwork = local.subnetwork_self_link