diff --git a/codelabs/simple/main.tf b/codelabs/simple/main.tf index 908a6fc1..e5fc216c 100644 --- a/codelabs/simple/main.tf +++ b/codelabs/simple/main.tf @@ -25,7 +25,7 @@ resource "google_project_service" "compute" { # Create the network module "vpc" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" # Give the network a name and project project_id = google_project_service.compute.project diff --git a/examples/basic_vpc_peering/main.tf b/examples/basic_vpc_peering/main.tf index f74aed85..a0869606 100644 --- a/examples/basic_vpc_peering/main.tf +++ b/examples/basic_vpc_peering/main.tf @@ -23,7 +23,7 @@ # [START vpc_peering_create] module "peering1" { source = "terraform-google-modules/network/google//modules/network-peering" - version = "~> 8.0" + version = "~> 9.0" local_network = var.local_network # Replace with self link to VPC network "foobar" in quotes peer_network = var.peer_network # Replace with self link to VPC network "other" in quotes } diff --git a/examples/bidirectional-firewall-rules/main.tf b/examples/bidirectional-firewall-rules/main.tf index dc8ffa72..2db5347f 100644 --- a/examples/bidirectional-firewall-rules/main.tf +++ b/examples/bidirectional-firewall-rules/main.tf @@ -177,7 +177,7 @@ locals { module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_name @@ -200,7 +200,7 @@ module "test-vpc-module" { module "test-firewall-submodule" { source = "terraform-google-modules/network/google//modules/firewall-rules" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = module.test-vpc-module.network_name rules = local.custom_rules @@ -208,7 +208,7 @@ module "test-firewall-submodule" { module "test-firewall-submodule-ing-egr" { source = "terraform-google-modules/network/google//modules/firewall-rules" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = module.test-vpc-module.network_name ingress_rules = local.custom_rules_ingress diff --git a/examples/delete_default_gateway_routes/main.tf b/examples/delete_default_gateway_routes/main.tf index 0d5ff6d0..68e414ed 100644 --- a/examples/delete_default_gateway_routes/main.tf +++ b/examples/delete_default_gateway_routes/main.tf @@ -20,7 +20,7 @@ locals { module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_name diff --git a/examples/global-network-firewall-policy/main.tf b/examples/global-network-firewall-policy/main.tf index bc671171..c3158334 100644 --- a/examples/global-network-firewall-policy/main.tf +++ b/examples/global-network-firewall-policy/main.tf @@ -76,7 +76,7 @@ resource "google_service_account" "service_account" { module "firewal_policy" { source = "terraform-google-modules/network/google//modules/network-firewall-policy" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id policy_name = "${local.prefix}-firewall-policy-${random_string.random_suffix.result}" @@ -216,7 +216,7 @@ module "firewal_policy" { module "firewal_policy_no_rule" { source = "terraform-google-modules/network/google//modules/network-firewall-policy" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id policy_name = "${local.prefix}-firewall-policy-no-rules-${random_string.random_suffix.result}" description = "${local.prefix} test firewall policy without any rules" diff --git a/examples/ilb_routing/main.tf b/examples/ilb_routing/main.tf index 94ec52ef..542e4774 100644 --- a/examples/ilb_routing/main.tf +++ b/examples/ilb_routing/main.tf @@ -16,7 +16,7 @@ module "vpc" { source = "terraform-google-modules/network/google//modules/vpc" - version = "~> 8.0" + version = "~> 9.0" network_name = var.network_name project_id = var.project_id @@ -24,7 +24,7 @@ module "vpc" { module "subnets" { source = "terraform-google-modules/network/google//modules/subnets-beta" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = module.vpc.network_name @@ -47,7 +47,7 @@ module "subnets" { module "subnets-backup" { source = "terraform-google-modules/network/google//modules/subnets-beta" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = module.vpc.network_name @@ -97,7 +97,7 @@ resource "google_compute_forwarding_rule" "this" { module "routes" { source = "terraform-google-modules/network/google//modules/routes-beta" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = module.vpc.network_name routes_count = 2 diff --git a/examples/multi_vpc/main.tf b/examples/multi_vpc/main.tf index ae04f07c..20fa6571 100644 --- a/examples/multi_vpc/main.tf +++ b/examples/multi_vpc/main.tf @@ -51,7 +51,7 @@ locals { module "test-vpc-module-01" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_01_name @@ -105,7 +105,7 @@ module "test-vpc-module-01" { module "test-vpc-module-02" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_02_name diff --git a/examples/private_service_connect/main.tf b/examples/private_service_connect/main.tf index 9adcc8dd..ab8cc3e1 100644 --- a/examples/private_service_connect/main.tf +++ b/examples/private_service_connect/main.tf @@ -22,7 +22,7 @@ module "private_service_connect" { source = "terraform-google-modules/network/google//modules/private-service-connect" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_self_link = module.simple_vpc.network_self_link @@ -32,7 +32,7 @@ module "private_service_connect" { module "simple_vpc" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = "my-custom-network" mtu = 1460 diff --git a/examples/regional-network-firewall-policy/main.tf b/examples/regional-network-firewall-policy/main.tf index ed171569..f52f31a7 100644 --- a/examples/regional-network-firewall-policy/main.tf +++ b/examples/regional-network-firewall-policy/main.tf @@ -79,7 +79,7 @@ resource "google_service_account" "service_account" { module "firewal_policy" { source = "terraform-google-modules/network/google//modules/network-firewall-policy" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id policy_name = "${local.prefix}-firewall-policy-${random_string.random_suffix.result}" @@ -220,7 +220,7 @@ module "firewal_policy" { module "firewal_policy_no_rule" { source = "terraform-google-modules/network/google//modules/network-firewall-policy" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id policy_name = "${local.prefix}-firewall-policy-no-rules-${random_string.random_suffix.result}" description = "${local.prefix} test firewall policy without any rules" diff --git a/examples/routes/main.tf b/examples/routes/main.tf index 71df1947..e8e8bae0 100644 --- a/examples/routes/main.tf +++ b/examples/routes/main.tf @@ -23,7 +23,7 @@ # [START vpc_static_route_create] module "google_compute_route" { source = "terraform-google-modules/network/google//modules/routes" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id # Replace this with your project ID in quotes network_name = "default" diff --git a/examples/secondary_ranges/main.tf b/examples/secondary_ranges/main.tf index 8427ce87..6691c847 100644 --- a/examples/secondary_ranges/main.tf +++ b/examples/secondary_ranges/main.tf @@ -23,7 +23,7 @@ locals { module "vpc-secondary-ranges" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_name diff --git a/examples/simple_ipv6_project/main.tf b/examples/simple_ipv6_project/main.tf index 6885025c..73617d44 100644 --- a/examples/simple_ipv6_project/main.tf +++ b/examples/simple_ipv6_project/main.tf @@ -23,7 +23,7 @@ # [START vpc_custom_create] module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id # Replace this with your project ID in quotes network_name = "my-custom-mode-network" diff --git a/examples/simple_project/main.tf b/examples/simple_project/main.tf index 01d276a1..57ad29f0 100644 --- a/examples/simple_project/main.tf +++ b/examples/simple_project/main.tf @@ -23,7 +23,7 @@ # [START vpc_custom_create] module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id # Replace this with your project ID in quotes network_name = "my-custom-mode-network" mtu = 1460 diff --git a/examples/simple_project_with_regional_network/main.tf b/examples/simple_project_with_regional_network/main.tf index 723c7e07..81f0ae2b 100644 --- a/examples/simple_project_with_regional_network/main.tf +++ b/examples/simple_project_with_regional_network/main.tf @@ -21,7 +21,7 @@ locals { module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_name diff --git a/examples/submodule_firewall/main.tf b/examples/submodule_firewall/main.tf index d1ff2c38..a3b57f10 100644 --- a/examples/submodule_firewall/main.tf +++ b/examples/submodule_firewall/main.tf @@ -21,7 +21,7 @@ locals { module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = var.network_name @@ -118,7 +118,7 @@ locals { module "test-firewall-submodule" { source = "terraform-google-modules/network/google//modules/fabric-net-firewall" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network = module.test-vpc-module.network_name internal_ranges_enabled = true diff --git a/examples/submodule_network_peering/main.tf b/examples/submodule_network_peering/main.tf index b0487b7e..c51915ad 100644 --- a/examples/submodule_network_peering/main.tf +++ b/examples/submodule_network_peering/main.tf @@ -16,7 +16,7 @@ module "local-network" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = "local-network" @@ -25,7 +25,7 @@ module "local-network" { module "peer-network-1" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = "peer-network-1" @@ -34,7 +34,7 @@ module "peer-network-1" { module "peer-network-2" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id network_name = "peer-network-2" @@ -43,7 +43,7 @@ module "peer-network-2" { module "peering-1" { source = "terraform-google-modules/network/google//modules/network-peering" - version = "~> 8.0" + version = "~> 9.0" local_network = module.local-network.network_self_link peer_network = module.peer-network-1.network_self_link @@ -52,7 +52,7 @@ module "peering-1" { module "peering-2" { source = "terraform-google-modules/network/google//modules/network-peering" - version = "~> 8.0" + version = "~> 9.0" local_network = module.local-network.network_self_link peer_network = module.peer-network-2.network_self_link diff --git a/examples/submodule_svpc_access/main.tf b/examples/submodule_svpc_access/main.tf index cf64cd9d..ea8b33e5 100644 --- a/examples/submodule_svpc_access/main.tf +++ b/examples/submodule_svpc_access/main.tf @@ -23,7 +23,7 @@ locals { module "net-vpc-shared" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.host_project_id network_name = var.network_name @@ -45,7 +45,7 @@ module "net-vpc-shared" { module "net-svpc-access" { source = "terraform-google-modules/network/google//modules/fabric-net-svpc-access" - version = "~> 8.0" + version = "~> 9.0" host_project_id = module.net-vpc-shared.project_id service_project_ids = [var.service_project_id] diff --git a/examples/submodule_vpc_serverless_connector/main.tf b/examples/submodule_vpc_serverless_connector/main.tf index 223fbe29..067c0780 100644 --- a/examples/submodule_vpc_serverless_connector/main.tf +++ b/examples/submodule_vpc_serverless_connector/main.tf @@ -24,7 +24,7 @@ resource "google_project_service" "vpcaccess-api" { # [START vpc_serverless_connector] module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id # Replace this with your project ID in quotes network_name = "my-serverless-network" mtu = 1460 @@ -40,7 +40,7 @@ module "test-vpc-module" { module "serverless-connector" { source = "terraform-google-modules/network/google//modules/vpc-serverless-connector-beta" - version = "~> 8.0" + version = "~> 9.0" project_id = var.project_id vpc_connectors = [{ name = "central-serverless"