diff --git a/3-networks-dual-svpc/modules/restricted_shared_vpc/service_control.tf b/3-networks-dual-svpc/modules/restricted_shared_vpc/service_control.tf index 194c21f1e1..a64c5e4cfb 100644 --- a/3-networks-dual-svpc/modules/restricted_shared_vpc/service_control.tf +++ b/3-networks-dual-svpc/modules/restricted_shared_vpc/service_control.tf @@ -26,7 +26,7 @@ resource "random_id" "random_access_level_suffix" { module "access_level_members" { source = "terraform-google-modules/vpc-service-controls/google//modules/access_level" - version = "~> 4.0" + version = "~> 5.0" description = "${local.prefix} Access Level" policy = var.access_context_manager_policy_id @@ -64,7 +64,7 @@ resource "time_sleep" "wait_vpc_sc_propagation" { module "regular_service_perimeter" { source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter" - version = "~> 4.0" + version = "~> 5.0" policy = var.access_context_manager_policy_id perimeter_name = local.perimeter_name diff --git a/3-networks-hub-and-spoke/modules/restricted_shared_vpc/service_control.tf b/3-networks-hub-and-spoke/modules/restricted_shared_vpc/service_control.tf index 89ac51d580..1485fdfa9a 100644 --- a/3-networks-hub-and-spoke/modules/restricted_shared_vpc/service_control.tf +++ b/3-networks-hub-and-spoke/modules/restricted_shared_vpc/service_control.tf @@ -27,7 +27,7 @@ resource "random_id" "random_access_level_suffix" { module "access_level_members" { source = "terraform-google-modules/vpc-service-controls/google//modules/access_level" - version = "~> 4.0" + version = "~> 5.0" description = "${local.prefix} Access Level" policy = var.access_context_manager_policy_id @@ -66,7 +66,7 @@ resource "time_sleep" "wait_vpc_sc_propagation" { module "regular_service_perimeter" { source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter" - version = "~> 4.0" + version = "~> 5.0" policy = var.access_context_manager_policy_id perimeter_name = local.perimeter_name