Skip to content

Commit

Permalink
chore(deps): update terraform terraform-google-modules/cloud-router/g…
Browse files Browse the repository at this point in the history
…oogle to v5
  • Loading branch information
renovate[bot] authored May 5, 2023
1 parent 000d1f7 commit 29e92f7
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions 3-networks-dual-svpc/envs/shared/dns-hub.tf
Original file line number Diff line number Diff line change
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 = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.0"

name = "cr-c-dns-hub-${local.default_region2}-cr4"
project = local.dns_hub_project_id
Expand Down
8 changes: 4 additions & 4 deletions 3-networks-dual-svpc/modules/base_shared_vpc/main.tf
Original file line number Diff line number Diff line change
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 = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.0"

name = "cr-${local.vpc_name}-${var.default_region2}-cr4"
project = var.project_id
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 = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.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
8 changes: 4 additions & 4 deletions 3-networks-dual-svpc/modules/restricted_shared_vpc/main.tf
Original file line number Diff line number Diff line change
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 = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.0"

name = "cr-${local.vpc_name}-${var.default_region2}-cr8"
project = var.project_id
Expand Down
8 changes: 4 additions & 4 deletions 3-networks-hub-and-spoke/envs/shared/dns-hub.tf
Original file line number Diff line number Diff line change
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 = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.0"

name = "cr-c-dns-hub-${local.default_region2}-cr4"
project = local.dns_hub_project_id
Expand Down
8 changes: 4 additions & 4 deletions 3-networks-hub-and-spoke/modules/base_shared_vpc/main.tf
Original file line number Diff line number Diff line change
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 = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.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 @@ -23,7 +23,7 @@ locals {

module "interconnect_attachment1_region1" {
source = "terraform-google-modules/cloud-router/google//modules/interconnect_attachment"
version = "~> 4.0"
version = "~> 5.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 = "~> 5.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 = "~> 5.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 = "~> 5.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 @@ -120,7 +120,7 @@ resource "google_service_networking_connection" "private_vpc_connection" {

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

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

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

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

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

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

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

name = "cr-${local.vpc_name}-${var.default_region2}-cr8"
Expand Down

0 comments on commit 29e92f7

Please sign in to comment.