From 9ff9f28d173820c2b7306855be63d4ee857c9680 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 6 Apr 2023 06:34:29 +0000 Subject: [PATCH] fix(deps): update tf modules --- examples/cloud_run_vpc_connector/main.tf | 2 +- examples/cloud_run_vpc_connector/network.tf | 4 ++-- examples/simple_cloud_run/main.tf | 2 +- examples/simple_cloud_run_with_cmek/main.tf | 2 +- modules/secure-cloud-run-core/loadbalancer.tf | 2 +- modules/secure-cloud-run-harness/main.tf | 6 +++--- modules/secure-cloud-run-harness/network.tf | 2 +- modules/secure-cloud-run-harness/private_service_connect.tf | 2 +- modules/secure-cloud-run-harness/service_perimeter.tf | 4 ++-- modules/secure-cloud-run-net/network.tf | 2 +- modules/secure-cloud-run/main.tf | 4 ++-- test/fixtures/secure_cloud_run/harness.tf | 4 ++-- test/setup/main.tf | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/examples/cloud_run_vpc_connector/main.tf b/examples/cloud_run_vpc_connector/main.tf index c30237b5..008d052f 100644 --- a/examples/cloud_run_vpc_connector/main.tf +++ b/examples/cloud_run_vpc_connector/main.tf @@ -16,7 +16,7 @@ module "service_account" { source = "terraform-google-modules/service-accounts/google" - version = "~> 4.1.1" + version = "~> 4.2.0" project_id = var.project_id prefix = "sa-cloud-run" names = ["vpc-connector"] diff --git a/examples/cloud_run_vpc_connector/network.tf b/examples/cloud_run_vpc_connector/network.tf index 92ef72d5..80dd8165 100644 --- a/examples/cloud_run_vpc_connector/network.tf +++ b/examples/cloud_run_vpc_connector/network.tf @@ -16,7 +16,7 @@ module "vpc" { source = "terraform-google-modules/network/google" - version = "~> 4.0" + version = "~> 6.0" project_id = var.project_id network_name = "cloud-run-vpc" @@ -36,7 +36,7 @@ module "vpc" { module "serverless_connector" { source = "terraform-google-modules/network/google//modules/vpc-serverless-connector-beta" - version = "~> 4.0" + version = "~> 6.0" project_id = var.project_id vpc_connectors = [{ diff --git a/examples/simple_cloud_run/main.tf b/examples/simple_cloud_run/main.tf index 4992bb1f..93caac0d 100644 --- a/examples/simple_cloud_run/main.tf +++ b/examples/simple_cloud_run/main.tf @@ -16,7 +16,7 @@ module "service_account" { source = "terraform-google-modules/service-accounts/google" - version = "~> 4.1.1" + version = "~> 4.2.0" project_id = var.project_id prefix = "sa-cloud-run" names = ["simple"] diff --git a/examples/simple_cloud_run_with_cmek/main.tf b/examples/simple_cloud_run_with_cmek/main.tf index 96510651..fa7b196e 100644 --- a/examples/simple_cloud_run_with_cmek/main.tf +++ b/examples/simple_cloud_run_with_cmek/main.tf @@ -20,7 +20,7 @@ locals { module "service_account" { source = "terraform-google-modules/service-accounts/google" - version = "~> 4.1.1" + version = "~> 4.2.0" project_id = var.project_id prefix = "sa-cloud-run" names = ["cmek"] diff --git a/modules/secure-cloud-run-core/loadbalancer.tf b/modules/secure-cloud-run-core/loadbalancer.tf index f75b64ac..bee072c1 100644 --- a/modules/secure-cloud-run-core/loadbalancer.tf +++ b/modules/secure-cloud-run-core/loadbalancer.tf @@ -20,7 +20,7 @@ locals { module "lb-http" { source = "GoogleCloudPlatform/lb-http/google//modules/serverless_negs" - version = "~> 6.3" + version = "~> 7.0" name = var.lb_name project = var.project_id ssl = true diff --git a/modules/secure-cloud-run-harness/main.tf b/modules/secure-cloud-run-harness/main.tf index 066baa0c..96012fd2 100644 --- a/modules/secure-cloud-run-harness/main.tf +++ b/modules/secure-cloud-run-harness/main.tf @@ -41,7 +41,7 @@ resource "google_folder" "fld_serverless" { module "security_project" { source = "terraform-google-modules/project-factory/google" - version = "~> 13.0" + version = "~> 14.0" random_project_id = "true" activate_apis = local.kms_apis name = var.security_project_name @@ -52,7 +52,7 @@ module "security_project" { module "serverless_project" { source = "terraform-google-modules/project-factory/google" - version = "~> 13.0" + version = "~> 14.0" random_project_id = "true" activate_apis = local.serverless_apis name = var.serverless_project_name @@ -63,7 +63,7 @@ module "serverless_project" { module "service_accounts" { source = "terraform-google-modules/service-accounts/google" - version = "~> 3.0" + version = "~> 4.0" project_id = module.serverless_project.project_id prefix = "sa" names = ["cloud-run"] diff --git a/modules/secure-cloud-run-harness/network.tf b/modules/secure-cloud-run-harness/network.tf index 93565e18..506d8414 100644 --- a/modules/secure-cloud-run-harness/network.tf +++ b/modules/secure-cloud-run-harness/network.tf @@ -20,7 +20,7 @@ locals { module "network" { source = "terraform-google-modules/network/google" - version = "~> 5.2" + version = "~> 6.0" project_id = module.serverless_project.project_id network_name = local.network_name shared_vpc_host = "false" diff --git a/modules/secure-cloud-run-harness/private_service_connect.tf b/modules/secure-cloud-run-harness/private_service_connect.tf index b147a13d..7a42a8fe 100644 --- a/modules/secure-cloud-run-harness/private_service_connect.tf +++ b/modules/secure-cloud-run-harness/private_service_connect.tf @@ -16,7 +16,7 @@ module "private_service_connect" { source = "terraform-google-modules/network/google//modules/private-service-connect" - version = "~> 5.2" + version = "~> 6.0" project_id = module.serverless_project.project_id network_self_link = module.network.network_self_link private_service_connect_ip = var.private_service_connect_ip diff --git a/modules/secure-cloud-run-harness/service_perimeter.tf b/modules/secure-cloud-run-harness/service_perimeter.tf index e0e0c439..4e36811a 100644 --- a/modules/secure-cloud-run-harness/service_perimeter.tf +++ b/modules/secure-cloud-run-harness/service_perimeter.tf @@ -38,7 +38,7 @@ resource "google_access_context_manager_access_policy" "access_policy" { 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 = local.access_context_manager_policy_id name = local.access_level_name @@ -47,7 +47,7 @@ module "access_level_members" { module "regular_service_perimeter" { source = "terraform-google-modules/vpc-service-controls/google//modules/regular_service_perimeter" - version = "~> 4.0" + version = "~> 5.0" policy = local.access_context_manager_policy_id perimeter_name = local.perimeter_name description = "Serverless VPC Service Controls perimeter" diff --git a/modules/secure-cloud-run-net/network.tf b/modules/secure-cloud-run-net/network.tf index efbfdb5e..122153c1 100644 --- a/modules/secure-cloud-run-net/network.tf +++ b/modules/secure-cloud-run-net/network.tf @@ -36,7 +36,7 @@ resource "google_compute_subnetwork" "vpc_subnetwork" { module "serverless_connector" { source = "terraform-google-modules/network/google//modules/vpc-serverless-connector-beta" - version = "~> 5.0" + version = "~> 6.0" project_id = var.connector_on_host_project ? var.vpc_project_id : var.serverless_project_id vpc_connectors = [{ diff --git a/modules/secure-cloud-run/main.tf b/modules/secure-cloud-run/main.tf index 03709ebd..f9e15680 100644 --- a/modules/secure-cloud-run/main.tf +++ b/modules/secure-cloud-run/main.tf @@ -16,7 +16,7 @@ module "serverless_project_apis" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 13.0" + version = "~> 14.0" project_id = var.serverless_project_id disable_services_on_destroy = false @@ -32,7 +32,7 @@ module "serverless_project_apis" { module "vpc_project_apis" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "~> 13.0" + version = "~> 14.0" project_id = var.vpc_project_id disable_services_on_destroy = false diff --git a/test/fixtures/secure_cloud_run/harness.tf b/test/fixtures/secure_cloud_run/harness.tf index 7a7f8679..7402c91f 100644 --- a/test/fixtures/secure_cloud_run/harness.tf +++ b/test/fixtures/secure_cloud_run/harness.tf @@ -47,7 +47,7 @@ data "terraform_remote_state" "sfb-env-prod" { module "serverless_project" { source = "terraform-google-modules/project-factory/google" - version = "~> 13.0" + version = "~> 14.0" name = "ci-cloud-run" random_project_id = "true" @@ -74,7 +74,7 @@ module "serverless_project" { module "kms_project" { source = "terraform-google-modules/project-factory/google" - version = "~> 13.0" + version = "~> 14.0" name = "ci-cloud-run-kms" random_project_id = "true" diff --git a/test/setup/main.tf b/test/setup/main.tf index 325df213..3364c77e 100644 --- a/test/setup/main.tf +++ b/test/setup/main.tf @@ -16,7 +16,7 @@ module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 10.0" + version = "~> 14.0" name = "ci-cloud-run" random_project_id = "true"