Skip to content

Commit

Permalink
remove bocApplicationData, not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 2, 2022
1 parent 0aace86 commit af55b6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ldap-ou-create/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ resource "ldap_object" "ou" {
attributes = [
{ description = format("account=%s type=%s", local.account_id, local.account_environment) },
{ ou = local.account_id },
{ bocApplicationData = format("gov.census.csvd:account_alias=%v", local.account_alias) },
{ bocApplicationData = format("gov.census.csvd:tf_module_name=%v", "aws-inf-setup/ldap-ou-create") },
{ bocApplicationData = format("gov.census.csvd:tf_module_version=%v", local._module_version) },
# { bocApplicationData = format("gov.census.csvd:account_alias=%v", local.account_alias) },
# { bocApplicationData = format("gov.census.csvd:tf_module_name=%v", "aws-inf-setup/ldap-ou-create") },
# { bocApplicationData = format("gov.census.csvd:tf_module_version=%v", local._module_version) },
]

lifecycle {
Expand Down
6 changes: 3 additions & 3 deletions ldap-ou-create/templates/ou-ldif.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
dn: ou=${account_id},ou=AWS,ou=Cloud,ou=Application,o=U.S. Census Bureau,c=US
ou: ${account_id}
description: account=${account_id} type=${aws_environment} alias=${account_alias}
bocApplicationData: gov.census.csvd:account_alias=${account_alias}
bocApplicationData: gov.census.csvd:tf_module_name=${tf_module_name}
bocApplicationData: gov.census.csvd:tf_module_version=${tf_module_version}
# bocApplicationData: gov.census.csvd:account_alias=${account_alias}
# bocApplicationData: gov.census.csvd:tf_module_name=${tf_module_name}
# bocApplicationData: gov.census.csvd:tf_module_version=${tf_module_version}
objectClass: organizationalUnit
objectClass: ndsLoginProperties
objectClass: ndsContainerLoginProperties
Expand Down

0 comments on commit af55b6b

Please sign in to comment.