Skip to content

Commit 6ec2210

Browse files
committed
wrap lines for readability
1 parent a9ef36f commit 6ec2210

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

local.tf

+10-2
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,21 @@ locals {
2020
x,
2121
"platform",
2222
# Fallback on default `platform` if it's not defined in current worker group
23-
lookup(merge({ platform = local.default_platform }, var.workers_group_defaults), "platform", null)
23+
lookup(
24+
merge({ platform = local.default_platform }, var.workers_group_defaults),
25+
"platform",
26+
null
27+
)
2428
) == "linux"]) > 0
2529
worker_has_windows_ami = length([for x in concat(var.worker_groups, var.worker_groups_launch_template) : x if lookup(
2630
x,
2731
"platform",
2832
# Fallback on default `platform` if it's not defined in current worker group
29-
lookup(merge({ platform = local.default_platform }, var.workers_group_defaults), "platform", null)
33+
lookup(
34+
merge({ platform = local.default_platform }, var.workers_group_defaults),
35+
"platform",
36+
null
37+
)
3038
) == "windows"]) > 0
3139

3240
worker_ami_name_filter = var.worker_ami_name_filter != "" ? var.worker_ami_name_filter : "amazon-eks-node-${var.cluster_version}-v*"

0 commit comments

Comments
 (0)