You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
container: removed deprecated field `advanced_datapath_observability_config.relay_mode` from `google_container_cluster` resource. Users are expected to use `enable_relay` field instead.
3
+
```
4
+
```release-note:breaking-change
5
+
container: made field `advanced_datapath_observability_config.enable_relay` required in `google_container_cluster` resource
Deprecated: "Deprecated in favor of enable_relay field. Remove this attribute's configuration as this field will be removed in the next major release and enable_relay will become a required field.",
1281
-
Description: `Mode used to make Relay available.`,
Copy file name to clipboardExpand all lines: website/docs/guides/version_6_upgrade.html.markdown
+32-6
Original file line number
Diff line number
Diff line change
@@ -201,12 +201,12 @@ An empty value now means 300.
201
201
### `balancing_mode` default value changed
202
202
203
203
An empty value now means UTILIZATION.
204
-
204
+
205
205
## Resource: `google_vpc_access_connector`
206
206
207
207
### Fields `min_throughput` and `max_throughput` no longer have default values
208
208
209
-
The fields `min_throughput` and `max_throughput` no longer have default values
209
+
The fields `min_throughput` and `max_throughput` no longer have default values
210
210
set by the provider. This was necessary to add conflicting field validation, also
211
211
described in this guide.
212
212
@@ -216,7 +216,7 @@ will default to values present in data returned from the API.
216
216
### Conflicting field validation added for `min_throughput` and `min_instances`, and `max_throughput` and `max_instances`
217
217
218
218
The provider will now enforce that `google_vpc_access_connector` resources can only
219
-
include one of `min_throughput` and `min_instances` and one of `max_throughput`and
219
+
include one of `min_throughput` and `min_instances` and one of `max_throughput` and
220
220
`max_instances`. Previously if a user included all four fields in a resource block
221
221
they would experience a permadiff. This is a result of how `min_instances` and
222
222
`max_instances` fields' values take precedence in the API, and how the API calculates
@@ -232,7 +232,7 @@ that are derived from the API.
232
232
### Folder deletion now prevented by default with `deletion_protection`
233
233
234
234
The field `deletion_protection` has been added with a default value of `true`. This field prevents
235
-
Terraform from destroying or recreating the Folder. In 6.0.0, existing folders will have
235
+
Terraform from destroying or recreating the Folder. In 6.0.0, existing folders will have
236
236
`deletion_protection` set to `true` during the next refresh unless otherwise set in configuration.
237
237
238
238
**`deletion_protection` does NOT prevent deletion outside of Terraform.**
@@ -246,9 +246,35 @@ and then run `terraform apply` to apply the change.
246
246
247
247
Previously `lifecycle_rule.condition.age` attirbute was being set zero value by default and `lifecycle_rule.condition.no_age` was introduced to prevent that.
248
248
Now `lifecycle_rule.condition.no_age` is no longer supported and `lifecycle_rule.condition.age` won't set a zero value by default.
249
-
Removed in favor of the field `lifecycle_rule.condition.send_age_if_zero` which can be used to set zero value for `lifecycle_rule.condition.age` attribute.
249
+
Removed in favor of the field `lifecycle_rule.condition.send_age_if_zero` which can be used to set zero value for `lifecycle_rule.condition.age` attribute.
250
+
251
+
For a seamless update, if your state today uses `no_age=true`, update it to remove `no_age` and set `send_age_if_zero=false`. If you do not use `no_age=true`, you will need to add `send_age_if_zero=true` to your state to avoid any changes after updating to 6.0.0.
252
+
253
+
## Resource: `google_container_cluster`
254
+
255
+
### `advanced_datapath_observability_config.relay_mode` is now removed
256
+
257
+
Previously, through `relay_mode` field usage, users could both enable Dataplane V2
258
+
Flow Observability feature (that deploys Hubble relay component) and configure
259
+
managed load balancers. Due to users' needs to have better control over how
260
+
Hubble relay components shall be exposed in their clusters, managed load
261
+
balancer deployments are not supported anymore and users are expected to deploy
262
+
their own load balancers.
263
+
264
+
If `advanced_datapath_observability_config` is defined, `enable_relay` is now a
265
+
required field instead and users are expected to use this field instead.
266
+
267
+
Recommended migration from `relay_mode` to `enable_relay` depending on
268
+
`relay_mode` value:
269
+
*`DISABLED`: set `enable_relay` to `false`
270
+
*`INTERNAL_VPC_LB`: set `enable_relay` to `true` and define internal load
271
+
balancer with VPC scope
272
+
*`EXTERNAL_LB`: set `enable_relay` to `true` and define external load balancer
273
+
with public access
250
274
251
-
For a seamless update, if your state today uses `no_age=true`, update it to remove `no_age` and set `send_age_if_zero=false`. If you do not use `no_age=true`, you will need to add `send_age_if_zero=true` to your state to avoid any changes after updating to 6.0.0.
275
+
See exported endpoints for Dataplane V2 Observability feature to learn what
276
+
target you might wish to expose with load balancers:
*`enable_metrics` - (Required) Whether or not to enable advanced datapath metrics.
648
-
*`enable_relay` - (Optional) Whether or not Relay is enabled.
649
-
*`relay_mode` - (Optional, Deprecated) Mode used to make Relay available. Deprecated in favor of `enable_relay` field. Remove this attribute's configuration as this field will be removed in the next major release and `enable_relay` will become a required field.
648
+
*`enable_relay` - (Required) Whether or not Relay is enabled.
0 commit comments