Hi
i am facing an issue, i am using the code below to configure aaep the to associate a doamin called physical-domain to that aaep and everything works fine so far…
resource "aci_attachable_access_entity_profile" "aaep1" {
description = "AAEP physical-servers"
name = "aaep1"
}
resource "aci_aaep_to_domain" "aaep-to-domain" {
description = "from Terraform"
attachable_access_entity_profile_dn = aci_attachable_access_entity_profile.aaep1.id
#from domains.tf
domain_dn = aci_physical_domain.physical-domain.id
}
As i said I apply once and everything works fine, however when i do terrafrom plan the code no longer think that everyting match, instead the code just suggest that changes need to be made !
and once I apply again …then the code suggest to do the following changes
Terraform will perform the following actions:
# aci_attachable_access_entity_profile.aaep1 will be updated in-place
~ resource "aci_attachable_access_entity_profile" "aaep1" {
id = "uni/infra/attentp-aaep1"
name = "aaep1"
~ relation_infra_rs_dom_p = [
- "uni/phys-physical-domain",
the code simply removes the domain from the aaep even though no changes is made to the code that was running fine once.
Why terrafrom is doing that ?
Regards
this causing me an issue, do you have any suggestion ?