Skip to content

Commit

Permalink
chore(deps): update tf modules
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 14, 2023
1 parent 511f5cb commit aa0e626
Show file tree
Hide file tree
Showing 24 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion 0-bootstrap/cb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "random_string" "suffix" {

module "gcp_projects_state_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~> 4.0"
version = "~> 5.0"

name = "${var.bucket_prefix}-${module.seed_bootstrap.seed_project_id}-gcp-projects-tfstate"
project_id = module.seed_bootstrap.seed_project_id
Expand Down
4 changes: 2 additions & 2 deletions 0-bootstrap/modules/cb-private-pool/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ locals {

module "peered_network" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 8.0"
count = var.private_worker_pool.create_peered_network ? 1 : 0

project_id = var.project_id
Expand Down Expand Up @@ -85,7 +85,7 @@ resource "google_compute_network_peering_routes_config" "peering_routes" {

module "firewall_rules" {
source = "terraform-google-modules/network/google//modules/firewall-rules"
version = "~> 7.0"
version = "~> 8.0"
count = var.private_worker_pool.enable_network_peering ? 1 : 0

project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion 0-bootstrap/modules/cb-private-pool/vpn_ha.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ data "google_secret_manager_secret_version" "psk" {

module "vpn_ha_cb_to_onprem" {
source = "terraform-google-modules/vpn/google//modules/vpn_ha"
version = "~> 2.3"
version = "~> 3.0"
count = var.vpn_configuration.enable_vpn ? 1 : 0

project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion 0-bootstrap/modules/jenkins-agent/vpn_ha.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "vpn_ha_agent_to_onprem" {
source = "terraform-google-modules/vpn/google//modules/vpn_ha"
version = "~> 2.0"
version = "~> 3.0"

project_id = module.cicd_project.project_id
region = var.default_region
Expand Down
10 changes: 5 additions & 5 deletions 3-networks-dual-svpc/envs/shared/dns-hub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

module "dns_hub_vpc" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 8.0"

project_id = local.dns_hub_project_id
network_name = "vpc-c-dns-hub"
Expand Down Expand Up @@ -91,7 +91,7 @@ module "dns-forwarding-zone" {

module "dns_hub_region1_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region1}-cr1"
project = local.dns_hub_project_id
Expand All @@ -105,7 +105,7 @@ module "dns_hub_region1_router1" {

module "dns_hub_region1_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region1}-cr2"
project = local.dns_hub_project_id
Expand All @@ -119,7 +119,7 @@ module "dns_hub_region1_router2" {

module "dns_hub_region2_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region2}-cr3"
project = local.dns_hub_project_id
Expand All @@ -133,7 +133,7 @@ module "dns_hub_region2_router1" {

module "dns_hub_region2_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region2}-cr4"
project = local.dns_hub_project_id
Expand Down
10 changes: 5 additions & 5 deletions 3-networks-dual-svpc/modules/base_shared_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ locals {

module "main" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 8.0"

project_id = var.project_id
network_name = local.network_name
Expand Down Expand Up @@ -92,7 +92,7 @@ resource "google_service_networking_connection" "private_vpc_connection" {

module "region1_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region1}-cr1"
project = var.project_id
Expand All @@ -107,7 +107,7 @@ module "region1_router1" {

module "region1_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region1}-cr2"
project = var.project_id
Expand All @@ -122,7 +122,7 @@ module "region1_router2" {

module "region2_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region2}-cr3"
project = var.project_id
Expand All @@ -137,7 +137,7 @@ module "region2_router1" {

module "region2_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region2}-cr4"
project = var.project_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

module "private_service_connect" {
source = "terraform-google-modules/network/google//modules/private-service-connect"
version = "~> 7.0"
version = "~> 8.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-base"
Expand Down
8 changes: 4 additions & 4 deletions 3-networks-dual-svpc/modules/dedicated_interconnect/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ locals {

module "interconnect_attachment1_region1" {
source = "terraform-google-modules/cloud-router/google//modules/interconnect_attachment"
version = "~> 4.0"
version = "~> 6.0"

name = "vl-${var.region1_interconnect1_onprem_dc}-${var.region1_interconnect1_location}-${var.vpc_name}-${var.region1}-${local.suffix1}"
project = var.interconnect_project_id
Expand All @@ -46,7 +46,7 @@ module "interconnect_attachment1_region1" {

module "interconnect_attachment2_region1" {
source = "terraform-google-modules/cloud-router/google//modules/interconnect_attachment"
version = "~> 4.0"
version = "~> 6.0"

name = "vl-${var.region1_interconnect2_onprem_dc}-${var.region1_interconnect2_location}-${var.vpc_name}-${var.region1}-${local.suffix2}"
project = var.interconnect_project_id
Expand All @@ -69,7 +69,7 @@ module "interconnect_attachment2_region1" {

module "interconnect_attachment1_region2" {
source = "terraform-google-modules/cloud-router/google//modules/interconnect_attachment"
version = "~> 4.0"
version = "~> 6.0"

name = "vl-${var.region2_interconnect1_onprem_dc}-${var.region2_interconnect1_location}-${var.vpc_name}-${var.region2}-${local.suffix3}"
project = var.interconnect_project_id
Expand All @@ -92,7 +92,7 @@ module "interconnect_attachment1_region2" {

module "interconnect_attachment2_region2" {
source = "terraform-google-modules/cloud-router/google//modules/interconnect_attachment"
version = "~> 4.0"
version = "~> 6.0"

name = "vl-${var.region2_interconnect2_onprem_dc}-${var.region2_interconnect2_location}-${var.vpc_name}-${var.region2}-${local.suffix4}"
project = var.interconnect_project_id
Expand Down
10 changes: 5 additions & 5 deletions 3-networks-dual-svpc/modules/restricted_shared_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ locals {

module "main" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 8.0"

project_id = var.project_id
network_name = local.network_name
Expand Down Expand Up @@ -96,7 +96,7 @@ resource "google_service_networking_connection" "private_vpc_connection" {

module "region1_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region1}-cr5"
project = var.project_id
Expand All @@ -111,7 +111,7 @@ module "region1_router1" {

module "region1_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region1}-cr6"
project = var.project_id
Expand All @@ -126,7 +126,7 @@ module "region1_router2" {

module "region2_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region2}-cr7"
project = var.project_id
Expand All @@ -141,7 +141,7 @@ module "region2_router1" {

module "region2_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-${local.vpc_name}-${var.default_region2}-cr8"
project = var.project_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

module "private_service_connect" {
source = "terraform-google-modules/network/google//modules/private-service-connect"
version = "~> 7.0"
version = "~> 8.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-restricted"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions 3-networks-dual-svpc/modules/vpn-ha/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data "google_secret_manager_secret_version" "psk" {

module "vpn_ha_region1_router1" {
source = "terraform-google-modules/vpn/google//modules/vpn_ha"
version = "~> 2.3"
version = "~> 3.0"

project_id = var.project_id
region = var.default_region1
Expand Down Expand Up @@ -78,7 +78,7 @@ module "vpn_ha_region1_router1" {

module "vpn_ha_region1_router2" {
source = "terraform-google-modules/vpn/google//modules/vpn_ha"
version = "~> 2.3"
version = "~> 3.0"

project_id = var.project_id
region = var.default_region1
Expand Down Expand Up @@ -126,7 +126,7 @@ module "vpn_ha_region1_router2" {

module "vpn_ha_region2_router1" {
source = "terraform-google-modules/vpn/google//modules/vpn_ha"
version = "~> 2.3"
version = "~> 3.0"

project_id = var.project_id
region = var.default_region2
Expand Down Expand Up @@ -174,7 +174,7 @@ module "vpn_ha_region2_router1" {

module "vpn_ha_region2_router2" {
source = "terraform-google-modules/vpn/google//modules/vpn_ha"
version = "~> 2.3"
version = "~> 3.0"

project_id = var.project_id
region = var.default_region2
Expand Down
10 changes: 5 additions & 5 deletions 3-networks-hub-and-spoke/envs/shared/dns-hub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

module "dns_hub_vpc" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 8.0"

project_id = local.dns_hub_project_id
network_name = "vpc-c-dns-hub"
Expand Down Expand Up @@ -91,7 +91,7 @@ module "dns-forwarding-zone" {

module "dns_hub_region1_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region1}-cr1"
project = local.dns_hub_project_id
Expand All @@ -105,7 +105,7 @@ module "dns_hub_region1_router1" {

module "dns_hub_region1_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region1}-cr2"
project = local.dns_hub_project_id
Expand All @@ -119,7 +119,7 @@ module "dns_hub_region1_router2" {

module "dns_hub_region2_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region2}-cr3"
project = local.dns_hub_project_id
Expand All @@ -133,7 +133,7 @@ module "dns_hub_region2_router1" {

module "dns_hub_region2_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"

name = "cr-c-dns-hub-${local.default_region2}-cr4"
project = local.dns_hub_project_id
Expand Down
12 changes: 6 additions & 6 deletions 3-networks-hub-and-spoke/modules/base_shared_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ locals {

module "main" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 8.0"

project_id = var.project_id
network_name = local.network_name
Expand Down Expand Up @@ -74,7 +74,7 @@ data "google_compute_network" "vpc_base_net_hub" {

module "peering" {
source = "terraform-google-modules/network/google//modules/network-peering"
version = "~> 7.0"
version = "~> 8.0"
count = var.mode == "spoke" ? 1 : 0

prefix = "np"
Expand Down Expand Up @@ -116,7 +116,7 @@ resource "google_service_networking_connection" "private_vpc_connection" {

module "region1_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"
count = var.mode != "spoke" ? 1 : 0

name = "cr-${local.vpc_name}-${var.default_region1}-cr1"
Expand All @@ -132,7 +132,7 @@ module "region1_router1" {

module "region1_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"
count = var.mode != "spoke" ? 1 : 0

name = "cr-${local.vpc_name}-${var.default_region1}-cr2"
Expand All @@ -148,7 +148,7 @@ module "region1_router2" {

module "region2_router1" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"
count = var.mode != "spoke" ? 1 : 0

name = "cr-${local.vpc_name}-${var.default_region2}-cr3"
Expand All @@ -164,7 +164,7 @@ module "region2_router1" {

module "region2_router2" {
source = "terraform-google-modules/cloud-router/google"
version = "~> 4.0"
version = "~> 6.0"
count = var.mode != "spoke" ? 1 : 0

name = "cr-${local.vpc_name}-${var.default_region2}-cr4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

module "private_service_connect" {
source = "terraform-google-modules/network/google//modules/private-service-connect"
version = "~> 7.0"
version = "~> 8.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-base"
Expand Down
Loading

0 comments on commit aa0e626

Please sign in to comment.