Skip to content

Commit

Permalink
fix(deps): update tf modules
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-bot committed Mar 29, 2023
1 parent 4463291 commit 09e33a9
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion examples/cloud_run_vpc_connector/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions examples/cloud_run_vpc_connector/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 = [{
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_cloud_run/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_cloud_run_with_cmek/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion modules/secure-cloud-run-core/loadbalancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions modules/secure-cloud-run-harness/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion modules/secure-cloud-run-harness/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions modules/secure-cloud-run-harness/service_perimeter.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion modules/secure-cloud-run-net/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [{
Expand Down
4 changes: 2 additions & 2 deletions modules/secure-cloud-run/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/secure_cloud_run/harness.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 09e33a9

Please sign in to comment.