Skip to content

Commit a964c38

Browse files
authored
Document deprecated GKE Enterprise fields. (#14932)
Signed-off-by: Brad Hoekstra <[email protected]>
1 parent 69880d9 commit a964c38

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

mmv1/third_party/terraform/services/container/resource_container_cluster.go.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,19 +2523,22 @@ func ResourceContainerCluster() *schema.Resource {
25232523
MaxItems: 1,
25242524
Computed: true,
25252525
Description: `Defines the config needed to enable/disable GKE Enterprise`,
2526+
Deprecated: `GKE Enterprise features are now available without an Enterprise tier. This field is deprecated and will be removed in a future major release`,
25262527
Elem: &schema.Resource{
25272528
Schema: map[string]*schema.Schema{
25282529
"cluster_tier": {
25292530
Type: schema.TypeString,
25302531
Computed: true,
25312532
Description: `Indicates the effective cluster tier. Available options include STANDARD and ENTERPRISE.`,
2533+
Deprecated: `GKE Enterprise features are now available without an Enterprise tier. This field is deprecated and will be removed in a future major release`,
25322534
},
25332535
"desired_tier": {
25342536
Type: schema.TypeString,
25352537
Optional: true,
25362538
Computed: true,
25372539
ValidateFunc: validation.StringInSlice([]string{"STANDARD", "ENTERPRISE"}, false),
25382540
Description: `Indicates the desired cluster tier. Available options include STANDARD and ENTERPRISE.`,
2541+
Deprecated: `GKE Enterprise features are now available without an Enterprise tier. This field is deprecated and will be removed in a future major release`,
25392542
DiffSuppressFunc: tpgresource.EmptyOrDefaultStringSuppress("CLUSTER_TIER_UNSPECIFIED"),
25402543
},
25412544
},

mmv1/third_party/terraform/website/docs/r/container_cluster.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ Fleet configuration for the cluster. Structure is [documented below](#nested_fle
421421
Configuration for [direct-path (via ALTS) with workload identity.](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters#workloadaltsconfig). Structure is [documented below](#nested_workload_alts_config).
422422

423423
* `enterprise_config` - (Optional)
424-
Configuration for [Enterprise edition].(https://cloud.google.com/kubernetes-engine/enterprise/docs/concepts/gke-editions). Structure is [documented below](#nested_enterprise_config).
424+
(DEPRECATED) Configuration for [Enterprise edition].(https://cloud.google.com/kubernetes-engine/enterprise/docs/concepts/gke-editions). Structure is [documented below](#nested_enterprise_config). Deprecated as GKE Enterprise features are now available without an Enterprise tier. See https://cloud.google.com/blog/products/containers-kubernetes/gke-gets-new-pricing-and-capabilities-on-10th-birthday for the announcement of this change.
425425

426426
* `anonymous_authentication_config` - (Optional)
427427
Configuration for [anonymous authentication restrictions](https://cloud.google.com/kubernetes-engine/docs/how-to/hardening-your-cluster#restrict-anon-access). Structure is [documented below](#anonymous_authentication_config).
@@ -1643,7 +1643,7 @@ linux_node_config {
16431643

16441644
<a name="nested_enterprise_config"></a>The `enterprise_config` block supports:
16451645

1646-
* `desired_tier` - (Optional) Sets the tier of the cluster. Available options include `STANDARD` and `ENTERPRISE`.
1646+
* `desired_tier` - (Optional) (DEPRECATED) Sets the tier of the cluster. Available options include `STANDARD` and `ENTERPRISE`. Deprecated as GKE Enterprise features are now available without an Enterprise tier. See https://cloud.google.com/blog/products/containers-kubernetes/gke-gets-new-pricing-and-capabilities-on-10th-birthday for the announcement of this change.
16471647

16481648
<a name="anonymous_authentication_config"></a>The `anonymous_authentication_config` block supports:
16491649

0 commit comments

Comments
 (0)