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 Jan 24, 2024
1 parent 145c433 commit 946f996
Show file tree
Hide file tree
Showing 31 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion 0-bootstrap/cb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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 = "~> 8.0"
version = "~> 9.0"
count = var.private_worker_pool.create_peered_network ? 1 : 0

project_id = var.project_id
Expand Down Expand Up @@ -90,7 +90,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 = "~> 9.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/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ resource "google_tags_tag_value" "jenkins_agents" {

module "jenkins_firewall_rules" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"
project_id = module.cicd_project.project_id
policy_name = "fp-${google_compute_network.jenkins_agents.name}-jenkins-firewall"
description = "Jenkins Agent GCE network firewall rules."
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
8 changes: 4 additions & 4 deletions 0-bootstrap/modules/tfc-agent-gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "random_string" "suffix" {

module "network" {
source = "terraform-google-modules/network/google"
version = "~> 5.2"
version = "~> 9.0"

project_id = var.project_id
network_name = var.network_name
Expand Down Expand Up @@ -94,7 +94,7 @@ resource "google_service_account" "tfc_agent_service_account" {

module "tfc_agent_cluster" {
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-autopilot-private-cluster/"
version = "~> 28.0"
version = "~> 29.0"

project_id = var.project_id
region = var.region
Expand Down Expand Up @@ -370,7 +370,7 @@ resource "google_compute_firewall" "allow_private_api_egress" {

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

project_id = var.project_id
dns_code = "dz-${local.vpc_name}"
Expand All @@ -392,7 +392,7 @@ resource "google_dns_policy" "default_policy" {

module "hub" {
source = "terraform-google-modules/kubernetes-engine/google//modules/fleet-membership"
version = "~> 28.0"
version = "~> 29.0"

project_id = var.project_id
location = var.region
Expand Down
4 changes: 2 additions & 2 deletions 1-org/modules/cai-monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ data "archive_file" "function_source_zip" {

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

project_id = var.project_id
name = "bkt-cai-monitoring-${random_id.suffix.hex}-sources-${data.google_project.project.number}-${var.location}"
Expand Down Expand Up @@ -121,7 +121,7 @@ resource "google_cloud_asset_organization_feed" "organization_feed" {

module "pubsub_cai_feed" {
source = "terraform-google-modules/pubsub/google"
version = "~> 5.0"
version = "~> 6.0"

topic = "top-cai-monitoring-${random_id.suffix.hex}-event"
project_id = var.project_id
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 = "~> 8.0"
version = "~> 9.0"

project_id = local.dns_hub_project_id
network_name = "vpc-c-dns-hub"
Expand Down Expand Up @@ -101,7 +101,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 @@ -115,7 +115,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 @@ -129,7 +129,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 @@ -143,7 +143,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
2 changes: 1 addition & 1 deletion 3-networks-dual-svpc/modules/base_shared_vpc/firewall.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*****************************************/
module "firewall_rules" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
policy_name = "fp-${var.environment_code}-dual-svpc-base-firewalls"
description = "Firewall rules for base dual shared vpc: ${module.main.network_name}."
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 = "~> 8.0"
version = "~> 9.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 = "~> 9.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
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*****************************************/
module "firewall_rules" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
policy_name = "fp-${var.environment_code}-dual-svpc-restricted-firewalls"
description = "Firewall rules for restricted dual shared vpc: ${module.main.network_name}."
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 = "~> 8.0"
version = "~> 9.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 = "~> 9.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 @@ -61,7 +61,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
Loading

0 comments on commit 946f996

Please sign in to comment.