Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
v.1.5.6
MSO version
V 4.1.2
APIC version and APIC Platform for Site Level Resources
N/A
Affected Resource(s)
mso_schema_site_anp_epg_bulk_staticport
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
Debug Output
module.tf-aci-ndo-staticports.mso_schema_site_anp_epg_bulk_staticport.accessPortsL2_bulk["TENANT-0100-EPG-prod-aci"] must be replaced
Plan: 47 to add, 5 to change, 47 to destroy.
Panic Output
Expected Behavior
The resource should update the object in NDO by adding/removing the ports. Not completely destroy and re-create the object.
Destroying and recreating the object creates a time period where any error on the pipeline can leave an incomplete template on NDO.
Actual Behavior
Terraform is destroying and re-creating all objects
Community Note
Terraform Version
v.1.5.6
MSO version
APIC version and APIC Platform for Site Level Resources
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The resource should update the object in NDO by adding/removing the ports. Not completely destroy and re-create the object. Destroying and recreating the object creates a time period where any error on the pipeline can leave an incomplete template on NDO.
Actual Behavior
Terraform is destroying and re-creating all objects
Steps to Reproduce
Terraform plan/apply
Important Factoids
References
0000