Skip to content

Commit d49eb28

Browse files
authored
Fix version_6_upgrade.html.markdown (#11209)
1 parent 29ded33 commit d49eb28

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

mmv1/third_party/terraform/website/docs/guides/version_6_upgrade.html.markdown

+41
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,49 @@ An empty value means the setting should be cleared.
126126

127127
To apply the IAP settings to the backend service, `true` needs to be set for `enabled` field.
128128

129+
### `outlier_detection` subfields default values removed
130+
131+
Empty values mean the setting should be cleared
132+
129133
## Resource: `google_compute_region_backend_service`
130134

131135
### `iap.enabled` is now required in the `iap` block
132136

133137
To apply the IAP settings to the backend service, `true` needs to be set for `enabled` field.
138+
139+
### `outlier_detection` subfields default values removed
140+
141+
Empty values mean the setting should be cleared.
142+
143+
### `connection_draining_timeout_sec` default value changed
144+
145+
An empty value now means 300.
146+
147+
### `balancing_mode` default value changed
148+
149+
An empty value now means UTILIZATION.
150+
151+
## Resource: `google_vpc_access_connector`
152+
153+
### Fields `min_throughput` and `max_throughput` no longer have default values
154+
155+
The fields `min_throughput` and `max_throughput` no longer have default values
156+
set by the provider. This was necessary to add conflicting field validation, also
157+
described in this guide.
158+
159+
No configuration changes are needed for existing resources as these fields' values
160+
will default to values present in data returned from the API.
161+
162+
### Conflicting field validation added for `min_throughput` and `min_instances`, and `max_throughput` and `max_instances`
163+
164+
The provider will now enforce that `google_vpc_access_connector` resources can only
165+
include one of `min_throughput` and `min_instances` and one of `max_throughput`and
166+
`max_instances`. Previously if a user included all four fields in a resource block
167+
they would experience a permadiff. This is a result of how `min_instances` and
168+
`max_instances` fields' values take precedence in the API, and how the API calculates
169+
values for `min_throughput` and `max_throughput` that match the number of instances.
170+
171+
Users will need to check their configuration for any `google_vpc_access_connector`
172+
resource blocks that contain both fields in a conflicting pair, and remove one of those fields.
173+
The fields that are removed from the configuration will still have Computed values,
174+
that are derived from the API.

0 commit comments

Comments
 (0)