Skip to content

Commit

Permalink
fix(deps)!: Update Terraform terraform-google-modules/network/google …
Browse files Browse the repository at this point in the history
…to v10
  • Loading branch information
renovate[bot] authored Dec 18, 2024
1 parent e372e5f commit c557f1b
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 24 deletions.
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 = "~> 9.0"
version = "~> 10.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 = "~> 9.0"
version = "~> 10.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/jenkins-agent/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ resource "google_tags_tag_value" "jenkins_agents" {

module "jenkins_firewall_rules" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 9.0"
version = "~> 10.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
4 changes: 2 additions & 2 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 = "~> 9.0"
version = "~> 10.0"

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

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

project_id = var.project_id
dns_code = "dz-${local.vpc_name}"
Expand Down
2 changes: 1 addition & 1 deletion 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 = "~> 9.0"
version = "~> 10.0"

project_id = local.dns_hub_project_id
network_name = "vpc-net-dns"
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 = "~> 9.0"
version = "~> 10.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
2 changes: 1 addition & 1 deletion 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 = "~> 9.0"
version = "~> 10.0"

project_id = var.project_id
network_name = local.network_name
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 = "~> 9.1"
version = "~> 10.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-base"
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 = "~> 9.0"
version = "~> 10.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
2 changes: 1 addition & 1 deletion 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 = "~> 9.0"
version = "~> 10.0"

project_id = var.project_id
network_name = local.network_name
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 = "~> 9.1"
version = "~> 10.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-restricted"
Expand Down
2 changes: 1 addition & 1 deletion 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 = "~> 9.0"
version = "~> 10.0"

project_id = local.dns_hub_project_id
network_name = "vpc-net-dns"
Expand Down
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 = "~> 9.0"
version = "~> 10.0"
project_id = var.project_id
policy_name = "fp-${var.environment_code}-hub-and-spoke-base-firewalls"
description = "Firewall rules for base hub and spoke shared vpc: ${module.main.network_name}."
Expand Down
4 changes: 2 additions & 2 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 = "~> 9.0"
version = "~> 10.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 = "~> 9.0"
version = "~> 10.0"
count = var.mode == "spoke" ? 1 : 0

prefix = "np"
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 = "~> 9.1"
version = "~> 10.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-base"
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 = "~> 9.0"
version = "~> 10.0"
project_id = var.project_id
policy_name = "fp-${var.environment_code}-hub-and-spoke-restricted-firewalls"
description = "Firewall rules for restricted hub and spoke shared vpc: ${module.main.network_name}."
Expand Down
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 = "~> 9.0"
version = "~> 10.0"

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

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

prefix = "np"
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 = "~> 9.1"
version = "~> 10.0"

project_id = var.project_id
dns_code = "dz-${var.environment_code}-shared-restricted"
Expand Down
6 changes: 3 additions & 3 deletions 4-projects/modules/base_env/example_peering_project.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module "peering_project" {

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

project_id = module.peering_project.project_id
network_name = "vpc-${local.env_code}-peering-base"
Expand Down Expand Up @@ -112,7 +112,7 @@ resource "google_dns_policy" "default_policy" {

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

prefix = "${var.business_code}-${local.env_code}"
local_network = module.peering_network.network_self_link
Expand All @@ -125,7 +125,7 @@ module "peering" {
*****************************************/
module "firewall_rules" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 9.0"
version = "~> 10.0"
project_id = module.peering_project.project_id
policy_name = "fp-${local.env_code}-peering-project-firewalls"
description = "Firewall rules for Peering Network: ${module.peering_network.network_name}."
Expand Down

0 comments on commit c557f1b

Please sign in to comment.