Skip to content

Commit 1a3c00b

Browse files
gajicdevmorgante
andauthored
Fix code according to request
Co-Authored-By: Morgante Pell <[email protected]>
1 parent b1383e8 commit 1a3c00b

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
@@ -167,7 +167,7 @@ locals {
167167

168168
{% if beta_cluster %}
169169
cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && var.maintenance_end_time != "" ? [1] : []
170-
cluster_maintenance_window_is_daily = var.maintenance_recurrence != "" && var.maintenance_end_time != "" ? [] : [1]
170+
cluster_maintenance_window_is_daily = length(local.cluster_maintenance_window_is_recurring) > 0 ? [] : [1]
171171
{% endif %}
172172
}
173173

0 commit comments

Comments
 (0)