diff --git a/examples/cdn-policy/main.tf b/examples/cdn-policy/main.tf index 774d763c..51225863 100644 --- a/examples/cdn-policy/main.tf +++ b/examples/cdn-policy/main.tf @@ -42,7 +42,7 @@ resource "google_compute_router" "default" { module "cloud-nat" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.default.name project_id = var.project_id region = local.region @@ -51,7 +51,7 @@ module "cloud-nat" { module "mig_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 8.0" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.default.self_link project_id = var.project_id @@ -69,7 +69,7 @@ module "mig_template" { module "mig" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id instance_template = module.mig_template.self_link region = local.region diff --git a/examples/cross-project-mig-backend/mig.tf b/examples/cross-project-mig-backend/mig.tf index 2d3b18e7..83648285 100644 --- a/examples/cross-project-mig-backend/mig.tf +++ b/examples/cross-project-mig-backend/mig.tf @@ -73,7 +73,7 @@ resource "google_compute_router" "default" { module "cloud-nat" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.default.name project_id = var.host_project region = var.region @@ -91,7 +91,7 @@ resource "google_compute_shared_vpc_service_project" "service" { module "mig_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" project_id = var.service_project network = google_compute_network.default.self_link subnetwork = "${var.network_name}-${var.region}" @@ -111,7 +111,7 @@ module "mig_template" { module "mig" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" project_id = var.service_project instance_template = module.mig_template.self_link region = var.region diff --git a/examples/https-redirect/main.tf b/examples/https-redirect/main.tf index 5929e3f0..e4cf4ea3 100644 --- a/examples/https-redirect/main.tf +++ b/examples/https-redirect/main.tf @@ -43,7 +43,7 @@ resource "google_compute_router" "default" { module "cloud-nat" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.default.name project_id = var.project region = var.region @@ -60,7 +60,7 @@ data "template_file" "group-startup-script" { module "mig_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.default.self_link service_account = { @@ -77,7 +77,7 @@ module "mig_template" { module "mig" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig_template.self_link region = var.region hostname = var.network_name diff --git a/examples/mig-nat-http-lb/main.tf b/examples/mig-nat-http-lb/main.tf index b8f4eed0..2c6ca593 100644 --- a/examples/mig-nat-http-lb/main.tf +++ b/examples/mig-nat-http-lb/main.tf @@ -43,7 +43,7 @@ resource "google_compute_router" "default" { module "cloud-nat" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.default.name project_id = var.project region = var.region @@ -60,7 +60,7 @@ data "template_file" "group-startup-script" { module "mig_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.default.self_link service_account = { @@ -77,7 +77,7 @@ module "mig_template" { module "mig" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig_template.self_link region = var.region hostname = var.network_name diff --git a/examples/multi-backend-multi-mig-bucket-https-lb/main.tf b/examples/multi-backend-multi-mig-bucket-https-lb/main.tf index 02e8b8e4..b70eee6a 100644 --- a/examples/multi-backend-multi-mig-bucket-https-lb/main.tf +++ b/examples/multi-backend-multi-mig-bucket-https-lb/main.tf @@ -44,7 +44,7 @@ resource "google_compute_router" "group1" { module "cloud-nat-group1" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group1.name project_id = var.project region = var.group1_region @@ -68,7 +68,7 @@ resource "google_compute_router" "group2" { module "cloud-nat-group2" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group2.name project_id = var.project region = var.group2_region @@ -92,7 +92,7 @@ resource "google_compute_router" "group3" { module "cloud-nat-group3" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group3.name project_id = var.project region = var.group3_region diff --git a/examples/multi-backend-multi-mig-bucket-https-lb/mig.tf b/examples/multi-backend-multi-mig-bucket-https-lb/mig.tf index 31e80c74..761f0d1a 100644 --- a/examples/multi-backend-multi-mig-bucket-https-lb/mig.tf +++ b/examples/multi-backend-multi-mig-bucket-https-lb/mig.tf @@ -40,7 +40,7 @@ data "template_file" "group3-startup-script" { module "mig1_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group1.self_link service_account = { @@ -59,7 +59,7 @@ module "mig1_template" { module "mig1" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig1_template.self_link region = var.group1_region hostname = "${var.network_name}-group1" @@ -74,7 +74,7 @@ module "mig1" { module "mig2_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group2.self_link service_account = { @@ -93,7 +93,7 @@ module "mig2_template" { module "mig2" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig2_template.self_link region = var.group2_region hostname = "${var.network_name}-group2" @@ -109,7 +109,7 @@ module "mig2" { module "mig3_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group3.self_link service_account = { @@ -128,7 +128,7 @@ module "mig3_template" { module "mig3" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig3_template.self_link region = var.group3_region hostname = "${var.network_name}-group3" diff --git a/examples/multi-mig-http-lb/main.tf b/examples/multi-mig-http-lb/main.tf index b71f2ab5..11d6c596 100644 --- a/examples/multi-mig-http-lb/main.tf +++ b/examples/multi-mig-http-lb/main.tf @@ -36,7 +36,7 @@ resource "google_compute_router" "group1" { module "cloud-nat-group1" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group1.name project_id = var.project region = var.group1_region @@ -60,7 +60,7 @@ resource "google_compute_router" "group2" { module "cloud-nat-group2" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group2.name project_id = var.project region = var.group2_region diff --git a/examples/multi-mig-http-lb/mig.tf b/examples/multi-mig-http-lb/mig.tf index d8ab8356..707c1981 100644 --- a/examples/multi-mig-http-lb/mig.tf +++ b/examples/multi-mig-http-lb/mig.tf @@ -32,7 +32,7 @@ data "template_file" "group-startup-script" { module "mig1_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group1.self_link service_account = { @@ -51,7 +51,7 @@ module "mig1_template" { module "mig1" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig1_template.self_link region = var.group1_region hostname = "${var.network_prefix}-group1" @@ -66,7 +66,7 @@ module "mig1" { module "mig2_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group2.self_link service_account = { @@ -83,7 +83,7 @@ module "mig2_template" { module "mig2" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig2_template.self_link region = var.group2_region hostname = "${var.network_prefix}-group2" diff --git a/examples/multiple-certs/main.tf b/examples/multiple-certs/main.tf index 1735aab0..2b0a85f5 100644 --- a/examples/multiple-certs/main.tf +++ b/examples/multiple-certs/main.tf @@ -44,7 +44,7 @@ resource "google_compute_router" "group1" { module "cloud-nat-group1" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group1.name project_id = var.project region = var.group1_region @@ -68,7 +68,7 @@ resource "google_compute_router" "group2" { module "cloud-nat-group2" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group2.name project_id = var.project region = var.group2_region @@ -92,7 +92,7 @@ resource "google_compute_router" "group3" { module "cloud-nat-group3" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.group3.name project_id = var.project region = var.group3_region diff --git a/examples/multiple-certs/mig.tf b/examples/multiple-certs/mig.tf index f1a162f1..abd67474 100644 --- a/examples/multiple-certs/mig.tf +++ b/examples/multiple-certs/mig.tf @@ -40,7 +40,7 @@ data "template_file" "group3-startup-script" { module "mig1_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group1.self_link service_account = { @@ -59,7 +59,7 @@ module "mig1_template" { module "mig1" { source = "terraform-google-modules/vm/google//modules/mig" - version = "7.9.0" + version = "9.0.0" instance_template = module.mig1_template.self_link region = var.group1_region hostname = "${var.network_name}-group1" @@ -74,7 +74,7 @@ module "mig1" { module "mig2_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group2.self_link service_account = { @@ -91,7 +91,7 @@ module "mig2_template" { module "mig2" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig2_template.self_link region = var.group2_region hostname = "${var.network_name}-group2" @@ -107,7 +107,7 @@ module "mig2" { module "mig3_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = google_compute_subnetwork.group3.self_link service_account = { @@ -124,7 +124,7 @@ module "mig3_template" { module "mig3" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig3_template.self_link region = var.group3_region hostname = "${var.network_name}-group3" diff --git a/examples/shared-vpc/mig.tf b/examples/shared-vpc/mig.tf index 09aeec71..6527bc7c 100644 --- a/examples/shared-vpc/mig.tf +++ b/examples/shared-vpc/mig.tf @@ -46,7 +46,7 @@ resource "google_compute_router" "default" { module "cloud-nat" { source = "terraform-google-modules/cloud-nat/google" - version = "~> 2.2" + version = "~> 4.0" router = google_compute_router.default.name project_id = var.host_project region = var.region @@ -55,7 +55,7 @@ module "cloud-nat" { module "mig_template" { source = "terraform-google-modules/vm/google//modules/instance_template" - version = "~> 7.9" + version = "~> 9.0" network = google_compute_network.default.self_link subnetwork = var.subnetwork subnetwork_project = var.host_project @@ -70,7 +70,7 @@ module "mig_template" { module "mig" { source = "terraform-google-modules/vm/google//modules/mig" - version = "~> 7.9" + version = "~> 9.0" instance_template = module.mig_template.self_link region = var.region hostname = var.network