mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 00:34:31 +01:00
fix: Coalesce local resolve_conflicts_on_create_default value to a boolean since default is null (#3221)
This commit is contained in:
2
main.tf
2
main.tf
@@ -483,7 +483,7 @@ resource "aws_iam_policy" "cluster_encryption" {
|
|||||||
|
|
||||||
locals {
|
locals {
|
||||||
# TODO - Set to `NONE` on next breaking change when default addons are disabled
|
# 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" {
|
data "aws_eks_addon_version" "this" {
|
||||||
|
|||||||
Reference in New Issue
Block a user