Skip to content

Commit

Permalink
fix: Coalesce local resolve_conflicts_on_create_default value to a …
Browse files Browse the repository at this point in the history
…boolean since default is `null`
  • Loading branch information
bryantbiggs committed Nov 26, 2024
1 parent b468ead commit 595db38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ resource "aws_iam_policy" "cluster_encryption" {

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

data "aws_eks_addon_version" "this" {
Expand Down

0 comments on commit 595db38

Please sign in to comment.