Skip to content

Conversation

manofcolombia
Copy link

Tested on apic: 6.1.3g

Here is a sample of the yaml for updating the nac json schema

endpoint_groups:
  - name: TEST_EPG
    static_aaeps:
      - aaep: TEST_AAEP (required)
        encap: 1500  (required)
        primary_encap: <int> (optional)
        mode: <default: regular> (optional)
        deployment_immediacy: <default: lazy> (optional)

@manofcolombia
Copy link
Author

manofcolombia commented Aug 11, 2025

In this state, subsequent deployments of fvRsAepAtt objects will consistently come back with changed annotations due to annotation being utilized to indicate if the relationship to AAEP has been formed properly.

  # module.nac_aci.module.aci_endpoint_group["LU/NUTANIX_APP_PROF/AHVPROD_EPG"].aci_rest_managed.fvRsAepAtt["AHV_AAEP"] will be updated in-place
  ~ resource "aci_rest_managed" "fvRsAepAtt" {
      ~ annotation  = "FORMED" -> "orchestrator:terraform"
        id          = "uni/tn-LU/ap-NUTANIX_APP_PROF/epg-AHVPROD_EPG/rsaepAtt-AHV_AAEP"
        # (4 unchanged attributes hidden)
    }

I have not seen an annotation used to indicate the formation of a relationship before. Is this intended or a misuse of annotation? For now I have set annotation to be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant