Skip to content

Commit a2d0f6d

Browse files
authored
Merge pull request GoogleCloudPlatform#4314 from Shuang-cnt/update-terraform-provider
update terraform-provider version to v6.41.0
2 parents 7b91b7d + 95a6229 commit a2d0f6d

14 files changed

Lines changed: 34 additions & 26 deletions

File tree

modules/file-system/managed-lustre/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ No modules.
271271
| <a name="input_name"></a> [name](#input\_name) | Name of the Lustre instance | `string` | n/a | yes |
272272
| <a name="input_network_id"></a> [network\_id](#input\_network\_id) | The ID of the GCE VPC network to which the instance is connected given in the format:<br/>`projects/<project_id>/global/networks/<network_name>`" | `string` | n/a | yes |
273273
| <a name="input_network_self_link"></a> [network\_self\_link](#input\_network\_self\_link) | Network self-link this instance will be on, required for checking private service access | `string` | n/a | yes |
274+
| <a name="input_per_unit_storage_throughput"></a> [per\_unit\_storage\_throughput](#input\_per\_unit\_storage\_throughput) | Throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000. | `number` | `1000` | no |
274275
| <a name="input_private_vpc_connection_peering"></a> [private\_vpc\_connection\_peering](#input\_private\_vpc\_connection\_peering) | The name of the VPC Network peering connection.<br/>If using new VPC, please use community/modules/network/private-service-access to create private-service-access and<br/>If using existing VPC with private-service-access enabled, set this manually." | `string` | n/a | yes |
275276
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | ID of project in which Lustre instance will be created. | `string` | n/a | yes |
276277
| <a name="input_remote_mount"></a> [remote\_mount](#input\_remote\_mount) | Remote mount point of the Managed Lustre instance | `string` | n/a | yes |

modules/file-system/managed-lustre/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ resource "google_lustre_instance" "lustre_instance" {
6565
instance_id = local.instance_id
6666
location = var.zone
6767

68-
filesystem = var.remote_mount
69-
capacity_gib = var.size_gib
68+
filesystem = var.remote_mount
69+
capacity_gib = var.size_gib
70+
per_unit_storage_throughput = var.per_unit_storage_throughput
7071

7172
labels = local.labels
7273
network = var.network_id

modules/file-system/managed-lustre/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ variable "size_gib" {
7777
default = 18000
7878
}
7979

80+
variable "per_unit_storage_throughput" {
81+
description = "Throughput of the instance in MB/s/TiB. Valid values are 125, 250, 500, 1000."
82+
type = number
83+
default = 1000
84+
}
85+
8086
variable "labels" {
8187
description = "Labels to add to the Managed Lustre instance. Key-value pairs."
8288
type = map(string)

pkg/config/expand.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@ func getDefaultGoogleProviders(bp Blueprint) map[string]TerraformProvider {
199199
return map[string]TerraformProvider{
200200
"google": {
201201
Source: "hashicorp/google",
202-
Version: "~> 6.39.0",
202+
Version: "~> 6.41.0",
203203
Configuration: gglConf},
204204
"google-beta": {
205205
Source: "hashicorp/google-beta",
206-
Version: "~> 6.39.0",
206+
Version: "~> 6.41.0",
207207
Configuration: gglConf}}
208208
}
209209

pkg/config/expand_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ func (s *zeroSuite) TestExpandProviders(c *C) {
9393
c.Check(g.TerraformProviders, DeepEquals, map[string]PR{
9494
"google": TerraformProvider{
9595
Source: "hashicorp/google",
96-
Version: "~> 6.39.0"},
96+
Version: "~> 6.41.0"},
9797
"google-beta": TerraformProvider{
9898
Source: "hashicorp/google-beta",
99-
Version: "~> 6.39.0"}})
99+
Version: "~> 6.41.0"}})
100100
}
101101

102102
{ // no def PR, group PR

tools/validate_configs/golden_copies/expectations/igc_pkr/.ghpc/artifacts/expanded_blueprint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ deployment_groups:
3838
terraform_providers:
3939
google:
4040
source: hashicorp/google
41-
version: ~> 6.39.0
41+
version: ~> 6.41.0
4242
configuration:
4343
project: ((var.project_id))
4444
region: ((var.region))
4545
zone: ((var.zone))
4646
google-beta:
4747
source: hashicorp/google-beta
48-
version: ~> 6.39.0
48+
version: ~> 6.41.0
4949
configuration:
5050
project: ((var.project_id))
5151
region: ((var.region))

tools/validate_configs/golden_copies/expectations/igc_pkr/zero/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ terraform {
2020
required_providers {
2121
google = {
2222
source = "hashicorp/google"
23-
version = "~> 6.39.0"
23+
version = "~> 6.41.0"
2424
}
2525
google-beta = {
2626
source = "hashicorp/google-beta"
27-
version = "~> 6.39.0"
27+
version = "~> 6.41.0"
2828
}
2929
}
3030
}

tools/validate_configs/golden_copies/expectations/igc_tf/.ghpc/artifacts/expanded_blueprint.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ deployment_groups:
4444
terraform_providers:
4545
google:
4646
source: hashicorp/google
47-
version: ~> 6.39.0
47+
version: ~> 6.41.0
4848
configuration:
4949
project: ((var.project_id))
5050
region: ((var.region))
5151
zone: ((var.zone))
5252
google-beta:
5353
source: hashicorp/google-beta
54-
version: ~> 6.39.0
54+
version: ~> 6.41.0
5555
configuration:
5656
project: ((var.project_id))
5757
region: ((var.region))
@@ -80,14 +80,14 @@ deployment_groups:
8080
terraform_providers:
8181
google:
8282
source: hashicorp/google
83-
version: ~> 6.39.0
83+
version: ~> 6.41.0
8484
configuration:
8585
project: ((var.project_id))
8686
region: ((var.region))
8787
zone: ((var.zone))
8888
google-beta:
8989
source: hashicorp/google-beta
90-
version: ~> 6.39.0
90+
version: ~> 6.41.0
9191
configuration:
9292
project: ((var.project_id))
9393
region: ((var.region))

tools/validate_configs/golden_copies/expectations/igc_tf/one/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ terraform {
2020
required_providers {
2121
google = {
2222
source = "hashicorp/google"
23-
version = "~> 6.39.0"
23+
version = "~> 6.41.0"
2424
}
2525
google-beta = {
2626
source = "hashicorp/google-beta"
27-
version = "~> 6.39.0"
27+
version = "~> 6.41.0"
2828
}
2929
}
3030
}

tools/validate_configs/golden_copies/expectations/igc_tf/zero/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ terraform {
2020
required_providers {
2121
google = {
2222
source = "hashicorp/google"
23-
version = "~> 6.39.0"
23+
version = "~> 6.41.0"
2424
}
2525
google-beta = {
2626
source = "hashicorp/google-beta"
27-
version = "~> 6.39.0"
27+
version = "~> 6.41.0"
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)