Skip to content

Commit bb31529

Browse files
authored
feat: Add support for custom MTU on VPCs (#221)
BREAKING CHANGE: Minimum Google provider version increased to 3.45.0.
1 parent c5769dc commit bb31529

File tree

17 files changed

+30
-20
lines changed

17 files changed

+30
-20
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ Then perform the following commands on the root folder:
9797
| 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 |
9898
| 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 |
9999
| description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `""` | no |
100+
| mtu | The network MTU (default '1460'). Must be a value between 1460 and 1500 inclusive. | `number` | `1460` | no |
100101
| network\_name | The name of the network being created | `any` | n/a | yes |
101102
| project\_id | The ID of the project where this VPC will be created | `any` | n/a | yes |
102103
| routes | List of routes being created in this VPC | `list(map(string))` | `[]` | no |

examples/delete_default_gateway_routes/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

examples/ilb_routing/main.tf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 2.19.0"
19-
}
20-
21-
provider "google-beta" {
22-
version = "~> 2.19.0"
18+
version = "~> 3.45.0"
2319
}
2420

2521
provider "null" {

examples/multi_vpc/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

examples/secondary_ranges/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

examples/simple_project/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

examples/simple_project_with_regional_network/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

examples/submodule_firewall/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

examples/submodule_network_peering/main.tf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
19-
}
20-
21-
provider "google-beta" {
22-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
2319
}
2420

2521
provider "null" {

examples/submodule_svpc_access/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
version = "~> 3.3.0"
18+
version = "~> 3.45.0"
1919
}
2020

2121
provider "null" {

0 commit comments

Comments
 (0)