Skip to content

Commit 152e99f

Browse files
committed
fix: no pod_ranges for autopilot clusters - typo
1 parent 5126881 commit 152e99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autogen/main/main.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ locals {
8989
{% if autopilot_cluster != true %}
9090
pod_all_ip_ranges = var.add_cluster_firewall_rules ? compact(concat([local.cluster_alias_ranges_cidr[var.ip_range_pods]], [for k, v in merge(local.node_pools, local.windows_node_pools): local.cluster_alias_ranges_cidr[v.pod_range] if length(lookup(v, "pod_range", "")) > 0] )) : []
9191
{% else %}
92-
pod_all_ip_ranges = var.add_cluster_firewall_rules ? [local.cluster_alias_ranges_cidr[var.ip_range_pods] : []
92+
pod_all_ip_ranges = var.add_cluster_firewall_rules ? [local.cluster_alias_ranges_cidr[var.ip_range_pods]] : []
9393
{% endif %}
9494

9595
{% if autopilot_cluster != true %}

0 commit comments

Comments
 (0)