Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update Terraform terraform-google-modules/network/google to v9 #538

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codelabs/simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "google_project_service" "compute" {
# Create the network
module "vpc" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

# Give the network a name and project
project_id = google_project_service.compute.project
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_vpc_peering/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# [START vpc_peering_create]
module "peering1" {
source = "terraform-google-modules/network/google//modules/network-peering"
version = "~> 8.0"
version = "~> 9.0"
local_network = var.local_network # Replace with self link to VPC network "foobar" in quotes
peer_network = var.peer_network # Replace with self link to VPC network "other" in quotes
}
Expand Down
6 changes: 3 additions & 3 deletions examples/bidirectional-firewall-rules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ locals {

module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network_name = var.network_name

Expand All @@ -200,15 +200,15 @@ module "test-vpc-module" {

module "test-firewall-submodule" {
source = "terraform-google-modules/network/google//modules/firewall-rules"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network_name = module.test-vpc-module.network_name
rules = local.custom_rules
}

module "test-firewall-submodule-ing-egr" {
source = "terraform-google-modules/network/google//modules/firewall-rules"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network_name = module.test-vpc-module.network_name
ingress_rules = local.custom_rules_ingress
Expand Down
2 changes: 1 addition & 1 deletion examples/delete_default_gateway_routes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ locals {

module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = var.network_name
Expand Down
4 changes: 2 additions & 2 deletions examples/global-network-firewall-policy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ resource "google_service_account" "service_account" {

module "firewal_policy" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
policy_name = "${local.prefix}-firewall-policy-${random_string.random_suffix.result}"
Expand Down Expand Up @@ -216,7 +216,7 @@ module "firewal_policy" {

module "firewal_policy_no_rule" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
policy_name = "${local.prefix}-firewall-policy-no-rules-${random_string.random_suffix.result}"
description = "${local.prefix} test firewall policy without any rules"
Expand Down
8 changes: 4 additions & 4 deletions examples/ilb_routing/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@

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

network_name = var.network_name
project_id = var.project_id
}

module "subnets" {
source = "terraform-google-modules/network/google//modules/subnets-beta"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = module.vpc.network_name
Expand All @@ -47,7 +47,7 @@ module "subnets" {

module "subnets-backup" {
source = "terraform-google-modules/network/google//modules/subnets-beta"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = module.vpc.network_name
Expand Down Expand Up @@ -97,7 +97,7 @@ resource "google_compute_forwarding_rule" "this" {

module "routes" {
source = "terraform-google-modules/network/google//modules/routes-beta"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network_name = module.vpc.network_name
routes_count = 2
Expand Down
4 changes: 2 additions & 2 deletions examples/multi_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ locals {

module "test-vpc-module-01" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = var.network_01_name
Expand Down Expand Up @@ -105,7 +105,7 @@ module "test-vpc-module-01" {

module "test-vpc-module-02" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network_name = var.network_02_name

Expand Down
4 changes: 2 additions & 2 deletions examples/private_service_connect/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

project_id = var.project_id
network_self_link = module.simple_vpc.network_self_link
Expand All @@ -32,7 +32,7 @@ module "private_service_connect" {

module "simple_vpc" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network_name = "my-custom-network"
mtu = 1460
Expand Down
4 changes: 2 additions & 2 deletions examples/regional-network-firewall-policy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ resource "google_service_account" "service_account" {

module "firewal_policy" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
policy_name = "${local.prefix}-firewall-policy-${random_string.random_suffix.result}"
Expand Down Expand Up @@ -220,7 +220,7 @@ module "firewal_policy" {

module "firewal_policy_no_rule" {
source = "terraform-google-modules/network/google//modules/network-firewall-policy"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
policy_name = "${local.prefix}-firewall-policy-no-rules-${random_string.random_suffix.result}"
description = "${local.prefix} test firewall policy without any rules"
Expand Down
2 changes: 1 addition & 1 deletion examples/routes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# [START vpc_static_route_create]
module "google_compute_route" {
source = "terraform-google-modules/network/google//modules/routes"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id # Replace this with your project ID in quotes
network_name = "default"

Expand Down
2 changes: 1 addition & 1 deletion examples/secondary_ranges/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ locals {

module "vpc-secondary-ranges" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = var.network_name
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_ipv6_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# [START vpc_custom_create]
module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id # Replace this with your project ID in quotes
network_name = "my-custom-mode-network"
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# [START vpc_custom_create]
module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id # Replace this with your project ID in quotes
network_name = "my-custom-mode-network"
mtu = 1460
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_project_with_regional_network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {

module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = var.network_name
Expand Down
4 changes: 2 additions & 2 deletions examples/submodule_firewall/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {

module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = var.network_name
Expand Down Expand Up @@ -118,7 +118,7 @@ locals {

module "test-firewall-submodule" {
source = "terraform-google-modules/network/google//modules/fabric-net-firewall"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
network = module.test-vpc-module.network_name
internal_ranges_enabled = true
Expand Down
10 changes: 5 additions & 5 deletions examples/submodule_network_peering/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

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

project_id = var.project_id
network_name = "local-network"
Expand All @@ -25,7 +25,7 @@ module "local-network" {

module "peer-network-1" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = "peer-network-1"
Expand All @@ -34,7 +34,7 @@ module "peer-network-1" {

module "peer-network-2" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.project_id
network_name = "peer-network-2"
Expand All @@ -43,7 +43,7 @@ module "peer-network-2" {

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

local_network = module.local-network.network_self_link
peer_network = module.peer-network-1.network_self_link
Expand All @@ -52,7 +52,7 @@ module "peering-1" {

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

local_network = module.local-network.network_self_link
peer_network = module.peer-network-2.network_self_link
Expand Down
4 changes: 2 additions & 2 deletions examples/submodule_svpc_access/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ locals {

module "net-vpc-shared" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"

project_id = var.host_project_id
network_name = var.network_name
Expand All @@ -45,7 +45,7 @@ module "net-vpc-shared" {

module "net-svpc-access" {
source = "terraform-google-modules/network/google//modules/fabric-net-svpc-access"
version = "~> 8.0"
version = "~> 9.0"

host_project_id = module.net-vpc-shared.project_id
service_project_ids = [var.service_project_id]
Expand Down
4 changes: 2 additions & 2 deletions examples/submodule_vpc_serverless_connector/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "google_project_service" "vpcaccess-api" {
# [START vpc_serverless_connector]
module "test-vpc-module" {
source = "terraform-google-modules/network/google"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id # Replace this with your project ID in quotes
network_name = "my-serverless-network"
mtu = 1460
Expand All @@ -40,7 +40,7 @@ module "test-vpc-module" {

module "serverless-connector" {
source = "terraform-google-modules/network/google//modules/vpc-serverless-connector-beta"
version = "~> 8.0"
version = "~> 9.0"
project_id = var.project_id
vpc_connectors = [{
name = "central-serverless"
Expand Down
Loading