Skip to content

Commit 50c68b7

Browse files
Update documentation and fix skew between autogenerated code and
templates
1 parent 58b5537 commit 50c68b7

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o
102102
| Name | Description | Type | Default | Required |
103103
|------|-------------|:----:|:-----:|:-----:|
104104
| description | The description of the cluster | string | `""` | no |
105+
| disable\_legacy\_metadata\_endpoints | Disable the /0.1/ and /v1beta1/ metadata server endpoints on the node. Changing this value will cause all node pools to be recreated. | string | `"true"` | no |
105106
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | string | `"true"` | no |
106107
| http\_load\_balancing | Enable httpload balancer addon | string | `"true"` | no |
107108
| ip\_masq\_link\_local | Whether to masquerade traffic to the link-local prefix (169.254.0.0/16). | string | `"false"` | no |

autogen/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ data "google_container_engine_versions" "region" {
157157
}
158158

159159
data "google_container_engine_versions" "zone" {
160-
provider = "google-beta"
161160
// Work around to prevent a lack of zone declaration from causing regional cluster creation from erroring out due to error
162161
//
163162
// data.google_container_engine_versions.zone: Cannot determine zone: set in this resource, or set provider-level zone.

modules/private-cluster/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o
105105
| Name | Description | Type | Default | Required |
106106
|------|-------------|:----:|:-----:|:-----:|
107107
| description | The description of the cluster | string | `""` | no |
108+
| disable\_legacy\_metadata\_endpoints | Disable the /0.1/ and /v1beta1/ metadata server endpoints on the node. Changing this value will cause all node pools to be recreated. | string | `"true"` | no |
108109
| enable\_private\_endpoint | (Beta) Whether the master's internal IP address is used as the cluster endpoint | string | `"false"` | no |
109110
| enable\_private\_nodes | (Beta) Whether nodes have internal IP addresses only | string | `"false"` | no |
110111
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | string | `"true"` | no |

modules/private-cluster/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ variable "remove_default_node_pool" {
126126

127127
variable "disable_legacy_metadata_endpoints" {
128128
description = "Disable the /0.1/ and /v1beta1/ metadata server endpoints on the node. Changing this value will cause all node pools to be recreated."
129-
default = true
129+
default = "true"
130130
}
131131

132132

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ variable "remove_default_node_pool" {
126126

127127
variable "disable_legacy_metadata_endpoints" {
128128
description = "Disable the /0.1/ and /v1beta1/ metadata server endpoints on the node. Changing this value will cause all node pools to be recreated."
129-
default = true
129+
default = "true"
130130
}
131131

132132

0 commit comments

Comments
 (0)