mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-11-13 14:43:29 +01:00
fix: Coalesce local resolve_conflicts_on_create_default value to a boolean since default is null (#3221)
This commit is contained in:
1 parent
b468ead1d9
commit
35388bb8c4
1 file changed
+1
-1
@@ -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" {
|
||||
|
||||
Reference in new issue
Block a user