Skip to content

Commit 8fd6468

Browse files
committed
Apply terraform fmt logic to templates
1 parent 5dc4e57 commit 8fd6468

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

autogen/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,6 @@ data "google_container_engine_versions" "zone" {
162162
// data.google_container_engine_versions.zone: Cannot determine zone: set in this resource, or set provider-level zone.
163163
//
164164
zone = "${var.zones[0] == "" ? data.google_compute_zones.available.names[0] : var.zones[0]}"
165+
165166
project = "${var.project_id}"
166167
}

autogen/variables.tf

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ variable "disable_legacy_metadata_endpoints" {
129129
default = "true"
130130
}
131131

132-
133132
variable "node_pools" {
134133
type = "list"
135134
description = "List of maps containing node pools"
@@ -219,17 +218,17 @@ variable "service_account" {
219218
}
220219
{% if private_cluster %}
221220
variable "enable_private_endpoint" {
222-
description = "(Beta) Whether the master's internal IP address is used as the cluster endpoint"
223-
default = false
221+
description = "(Beta) Whether the master's internal IP address is used as the cluster endpoint"
222+
default = false
224223
}
225224

226225
variable "enable_private_nodes" {
227-
description = "(Beta) Whether nodes have internal IP addresses only"
228-
default = false
226+
description = "(Beta) Whether nodes have internal IP addresses only"
227+
default = false
229228
}
230229

231230
variable "master_ipv4_cidr_block" {
232-
description = "(Beta) The IP range in CIDR notation to use for the hosted master network"
233-
default = "10.0.0.0/28"
231+
description = "(Beta) The IP range in CIDR notation to use for the hosted master network"
232+
default = "10.0.0.0/28"
234233
}
235234
{% endif %}

0 commit comments

Comments
 (0)