diff --git a/3-networks/modules/restricted_shared_vpc/main.tf b/3-networks/modules/restricted_shared_vpc/main.tf index 258623ef9..71f668e12 100644 --- a/3-networks/modules/restricted_shared_vpc/main.tf +++ b/3-networks/modules/restricted_shared_vpc/main.tf @@ -42,7 +42,7 @@ data "google_compute_network" "vpc_restricted_net_hub" { module "main" { source = "terraform-google-modules/network/google" - version = "~> 2.0" + version = "~> 6.0" project_id = var.project_id network_name = local.network_name shared_vpc_host = "true" @@ -91,7 +91,7 @@ module "main" { module "peering" { source = "terraform-google-modules/network/google//modules/network-peering" - version = "~> 2.0" + version = "~> 6.0" count = var.mode == "spoke" ? 1 : 0 prefix = "np" local_network = module.main.network_self_link