Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 13, 2022
1 parent e733ca6 commit 56c5dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ resource "ldap_object" "role" {
"groupOfNames",
]
attributes = [
{ description = format("%s account=%s type=%s", aws_iam_role.role.name, local.account_id, local.account_environment) },
{ cn = aws_iam_role.role.name },
{ description = format("%s account=%s type=%s", var.create ? aws_iam_role.role[0].name : "", local.account_id, local.account_environment) },
{ cn = var.create ? aws_iam_role.role[0].name : "" },
{ bocApplicationData = format("gov.census.tco:CPASS_FullPath=Cloud/%s/%s", local.account_environment, local.account_id) },
{ bocApplicationData = "gov.census.tco:CPASS_APP=CloudServices" },
{ bocApplicationData = local.bocappdata_fullauth },
Expand Down

0 comments on commit 56c5dc7

Please sign in to comment.