Skip to content

Commit

Permalink
fix: Update access entries kubernetes_groups default value to null (
Browse files Browse the repository at this point in the history
#2897)

fix: Update default groups from [] to null

Co-authored-by: Bryant Biggs <[email protected]>
  • Loading branch information
Bourne-ID and bryantbiggs authored Feb 6, 2024
1 parent 39f708c commit 1e32e6a
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 @@ -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)
Expand Down

0 comments on commit 1e32e6a

Please sign in to comment.