From 1e32e6a9f8a389b1a4969dde697d34ba4e3c85ac Mon Sep 17 00:00:00 2001 From: Bourne-ID Date: Tue, 6 Feb 2024 09:04:22 -0500 Subject: [PATCH] fix: Update access entries `kubernetes_groups` default value to `null` (#2897) fix: Update default groups from [] to null Co-authored-by: Bryant Biggs --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 8a2317a737..f05f52959a 100644 --- a/main.tf +++ b/main.tf @@ -186,7 +186,7 @@ resource "aws_eks_access_entry" "this" { for_each = { for k, v in local.merged_access_entries : k => v if local.create } cluster_name = aws_eks_cluster.this[0].name - kubernetes_groups = try(each.value.kubernetes_groups, []) + kubernetes_groups = try(each.value.kubernetes_groups, null) principal_arn = each.value.principal_arn type = try(each.value.type, "STANDARD") user_name = try(each.value.user_name, null)