Skip to content

Commit 35388bb

Browse files
authored
fix: Coalesce local resolve_conflicts_on_create_default value to a boolean since default is null (#3221)
1 parent b468ead commit 35388bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ resource "aws_iam_policy" "cluster_encryption" {
483483

484484
locals {
485485
# TODO - Set to `NONE` on next breaking change when default addons are disabled
486-
resolve_conflicts_on_create_default = var.bootstrap_self_managed_addons ? "OVERWRITE" : "NONE"
486+
resolve_conflicts_on_create_default = coalesce(var.bootstrap_self_managed_addons, true) ? "OVERWRITE" : "NONE"
487487
}
488488

489489
data "aws_eks_addon_version" "this" {

0 commit comments

Comments
 (0)