Skip to content

Commit 2ddc347

Browse files
Revert "updated two defaults" (#6541) (#4682)
Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent f892c2b commit 2ddc347

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.changelog/6541.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/resource_vpc_access_connector.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ func resourceVPCAccessConnector() *schema.Resource {
6969
},
7070
"max_throughput": {
7171
Type: schema.TypeInt,
72-
Computed: true,
7372
Optional: true,
7473
ForceNew: true,
7574
ValidateFunc: validation.IntBetween(200, 1000),
76-
Description: `Maximum throughput of the connector in Mbps, must be greater than 'min_throughput'. Default is 1000.`,
75+
Description: `Maximum throughput of the connector in Mbps, must be greater than 'min_throughput'. Default is 300.`,
76+
Default: 300,
7777
},
7878
"min_instances": {
7979
Type: schema.TypeInt,
@@ -84,11 +84,11 @@ func resourceVPCAccessConnector() *schema.Resource {
8484
},
8585
"min_throughput": {
8686
Type: schema.TypeInt,
87-
Computed: true,
8887
Optional: true,
8988
ForceNew: true,
9089
ValidateFunc: validation.IntBetween(200, 1000),
91-
Description: `Minimum throughput of the connector in Mbps. Default and min is 500.`,
90+
Description: `Minimum throughput of the connector in Mbps. Default and min is 200.`,
91+
Default: 200,
9292
},
9393
"network": {
9494
Type: schema.TypeString,

google-beta/resource_vpc_access_connector_generated_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ resource "google_vpc_access_connector" "connector" {
156156
provider = google-beta
157157
region = "us-west1"
158158
ip_cidr_range = "10.8.0.0/28"
159-
max_throughput= 1000
159+
max_throughput= 300
160160
network = google_compute_network.default.name
161161
depends_on = [google_project_service.vpcaccess_api]
162162
}

website/docs/r/vpc_access_connector.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ resource "google_vpc_access_connector" "connector" {
104104
provider = google-beta
105105
region = "us-west1"
106106
ip_cidr_range = "10.8.0.0/28"
107-
max_throughput= 1000
107+
max_throughput= 300
108108
network = google_compute_network.default.name
109109
depends_on = [google_project_service.vpcaccess_api]
110110
}
@@ -190,7 +190,7 @@ The following arguments are supported:
190190

191191
* `min_throughput` -
192192
(Optional)
193-
Minimum throughput of the connector in Mbps. Default and min is 500.
193+
Minimum throughput of the connector in Mbps. Default and min is 200.
194194

195195
* `min_instances` -
196196
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
@@ -202,7 +202,7 @@ The following arguments are supported:
202202

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

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

0 commit comments

Comments
 (0)