Skip to content

Commit

Permalink
Add ldap resource dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 27, 2024
1 parent 733d026 commit 4a779aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/terraform-aci-ldap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ resource "aci_rest_managed" "aaaLdapGroupMapRule" {
descr = each.value.description
groupdn = each.value.group_dn
}

depends_on = [aci_rest_managed.aaaRsSecProvToEpg]
}

locals {
Expand Down Expand Up @@ -105,6 +107,8 @@ resource "aci_rest_managed" "aaaLdapGroupMap" {
content = {
name = each.value.name
}

depends_on = [aci_rest_managed.aaaUserRole]
}

locals {
Expand Down

0 comments on commit 4a779aa

Please sign in to comment.