From 7948c95ab1f21c11a73a2dbd0f3d230b475744d3 Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 14 Oct 2021 12:07:45 -0400 Subject: [PATCH] fix --- patch-aws-auth/main.tf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/patch-aws-auth/main.tf b/patch-aws-auth/main.tf index 16db92e..5ad0331 100644 --- a/patch-aws-auth/main.tf +++ b/patch-aws-auth/main.tf @@ -65,8 +65,10 @@ locals { existing_roles = local.existing_roles_string != "" ? yamldecode(local.existing_roles_string) : [] existing_users = local.existing_users_string != "" ? yamldecode(local.existing_users_string) : [] - joined_auth_users = concat(local.aws_auth_users, var.aws_auth_users) - joined_auth_roles = concat(local.aws_auth_roles, var.aws_auth_roles) + # joined_auth_users = concat(local.aws_auth_users, var.aws_auth_users) + # joined_auth_roles = concat(local.aws_auth_roles, var.aws_auth_roles) + joined_auth_users = var.aws_auth_users + joined_auth_roles = var.aws_auth_roles mapped_auth_users = [for u in local.joined_auth_users : { userarn = data.aws_iam_user.auth_users[u.aws_username].arn