Skip to content

Commit 7d7a136

Browse files
authored
Merge branch 'main' into doc/vpc
2 parents ad730da + 6e5ac89 commit 7d7a136

File tree

45 files changed

+116
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+116
-42
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [11.1.1](https://github.com/terraform-google-modules/terraform-google-network/compare/v11.1.0...v11.1.1) (2025-05-27)
6+
7+
8+
### Bug Fixes
9+
10+
* default value for bgp_inter_region_cost and bgp_best_path_selection_mode ([#616](https://github.com/terraform-google-modules/terraform-google-network/issues/616)) ([1bb1b32](https://github.com/terraform-google-modules/terraform-google-network/commit/1bb1b32a72583122b18cebe417b2c0b4d253b2aa))
11+
12+
## [11.1.0](https://github.com/terraform-google-modules/terraform-google-network/compare/v11.0.0...v11.1.0) (2025-05-08)
13+
14+
15+
### Features
16+
17+
* added bgp_best_path_selection_mode bgp_always_compare_med bgp_inter_region_cost in VPC module ([#610](https://github.com/terraform-google-modules/terraform-google-network/issues/610)) ([aab974a](https://github.com/terraform-google-modules/terraform-google-network/commit/aab974aa485132f97edab4e404108e874baaa0a2))
18+
19+
## [11.0.0](https://github.com/terraform-google-modules/terraform-google-network/compare/v10.0.0...v11.0.0) (2025-04-23)
20+
21+
22+
### ⚠ BREAKING CHANGES
23+
24+
* **TPG>6.28:** added support for packet mirroring firewall policy rule, src_networks, src_network_scope and dest_network_scope ([#596](https://github.com/terraform-google-modules/terraform-google-network/issues/596))
25+
26+
### Features
27+
28+
* added security profile rule support in network firewall policy ([#602](https://github.com/terraform-google-modules/terraform-google-network/issues/602)) ([339e6f6](https://github.com/terraform-google-modules/terraform-google-network/commit/339e6f6013d5d7b749f4e8eb18410dc59f1d6ab3))
29+
* **TPG>6.28:** added support for packet mirroring firewall policy rule, src_networks, src_network_scope and dest_network_scope ([#596](https://github.com/terraform-google-modules/terraform-google-network/issues/596)) ([3ac6496](https://github.com/terraform-google-modules/terraform-google-network/commit/3ac64964bd2fd7f9f4f763d6f5152e9456f2e175))
30+
531
## [10.0.0](https://github.com/terraform-google-modules/terraform-google-network/compare/v9.3.0...v10.0.0) (2024-12-11)
632

733

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Comprehensive examples are available in [examples](https://github.com/terraform-
3636
```hcl
3737
module "vpc" {
3838
source = "terraform-google-modules/network/google"
39-
version = "~> 11.0"
39+
version = "~> 11.1"
4040
4141
project_id = "<PROJECT ID>"
4242
network_name = "example-vpc"
@@ -111,6 +111,9 @@ Then perform the following commands on the root folder:
111111
| Name | Description | Type | Default | Required |
112112
|------|-------------|------|---------|:--------:|
113113
| auto\_create\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |
114+
| bgp\_always\_compare\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |
115+
| bgp\_best\_path\_selection\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `"LEGACY"` | no |
116+
| bgp\_inter\_region\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |
114117
| delete\_default\_internet\_gateway\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |
115118
| description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `""` | no |
116119
| egress\_rules | List of egress rules. This will be ignored if variable 'rules' is non-empty | <pre>list(object({<br> name = string<br> description = optional(string, null)<br> disabled = optional(bool, null)<br> priority = optional(number, null)<br> destination_ranges = optional(list(string), [])<br> source_ranges = optional(list(string), [])<br> source_tags = optional(list(string))<br> source_service_accounts = optional(list(string))<br> target_tags = optional(list(string))<br> target_service_accounts = optional(list(string))<br><br> allow = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> deny = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> log_config = optional(object({<br> metadata = string<br> }))<br> }))</pre> | `[]` | no |

main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ module "vpc" {
3131
internal_ipv6_range = var.internal_ipv6_range
3232
network_firewall_policy_enforcement_order = var.network_firewall_policy_enforcement_order
3333
network_profile = var.network_profile
34+
bgp_always_compare_med = var.bgp_always_compare_med
35+
bgp_best_path_selection_mode = var.bgp_best_path_selection_mode
36+
bgp_inter_region_cost = var.bgp_inter_region_cost
3437
}
3538

3639
/******************************************

metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
source:
2525
repo: https://github.com/terraform-google-modules/terraform-google-network.git
2626
sourceType: git
27-
version: 10.0.0
27+
version: 11.1.1
2828
actuationTool:
2929
flavor: Terraform
3030
version: ">= 1.3"

modules/fabric-net-firewall/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-network.git
2626
sourceType: git
2727
dir: /modules/fabric-net-firewall
28-
version: 10.0.0
28+
version: 11.1.1
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"

modules/fabric-net-firewall/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ terraform {
2525
}
2626

2727
provider_meta "google" {
28-
module_name = "blueprints/terraform/terraform-google-network:fabric-net-firewall/v10.0.0"
28+
module_name = "blueprints/terraform/terraform-google-network:fabric-net-firewall/v11.1.1"
2929
}
3030
}

modules/fabric-net-svpc-access/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-network.git
2626
sourceType: git
2727
dir: /modules/fabric-net-svpc-access
28-
version: 10.0.0
28+
version: 11.1.1
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 0.13.0"

modules/fabric-net-svpc-access/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ terraform {
2929
}
3030

3131
provider_meta "google" {
32-
module_name = "blueprints/terraform/terraform-google-network:fabric-net-svpc-access/v10.0.0"
32+
module_name = "blueprints/terraform/terraform-google-network:fabric-net-svpc-access/v11.1.1"
3333
}
3434
provider_meta "google-beta" {
35-
module_name = "blueprints/terraform/terraform-google-network:fabric-net-svpc-access/v10.0.0"
35+
module_name = "blueprints/terraform/terraform-google-network:fabric-net-svpc-access/v11.1.1"
3636
}
3737
}

modules/firewall-rules/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-network.git
2626
sourceType: git
2727
dir: /modules/firewall-rules
28-
version: 10.0.0
28+
version: 11.1.1
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3.0"

modules/firewall-rules/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ terraform {
2525
}
2626

2727
provider_meta "google" {
28-
module_name = "blueprints/terraform/terraform-google-network:firewall-rules/v10.0.0"
28+
module_name = "blueprints/terraform/terraform-google-network:firewall-rules/v11.1.1"
2929
}
3030
}

0 commit comments

Comments
 (0)