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

fixed default for max_throughput #9282

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
3 changes: 3 additions & 0 deletions .changelog/4823.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
vpcaccess: fixed permadiff when `max_throughput` is not set on `google_vpc_access_connector`
```
4 changes: 2 additions & 2 deletions google/resource_vpc_access_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ func resourceVPCAccessConnector() *schema.Resource {
Optional: true,
ForceNew: true,
ValidateFunc: validation.IntBetween(200, 1000),
Description: `Maximum throughput of the connector in Mbps, must be greater than 'min_throughput'. Default is 1000.`,
Default: 1000,
Description: `Maximum throughput of the connector in Mbps, must be greater than 'min_throughput'. Default is 300.`,
Default: 300,
},
"min_throughput": {
Type: schema.TypeInt,
Expand Down
1 change: 1 addition & 0 deletions google/resource_vpc_access_connector_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package google
2 changes: 1 addition & 1 deletion website/docs/r/vpc_access_connector.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The following arguments are supported:

* `max_throughput` -
(Optional)
Maximum throughput of the connector in Mbps, must be greater than `min_throughput`. Default is 1000.
Maximum throughput of the connector in Mbps, must be greater than `min_throughput`. Default is 300.

* `subnet` -
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Expand Down