03-18-2021 07:25 AM
The company I work already has a CI/CD IaC platform in place. We are using Terraform, Azure Devops, and Octopus Deploy to push code to environments. I am new to Terraform development so my questions may seem elementary to some.
We have an existing ACI infrastructure in place. We also have the ACI Simulator stood up our our development environment. I have been playing around recently with pushing code change to the Simulator. Due to having an existing infrastructure in place I'm finding it challenging to start deploying changes with code without changing too much of the existing environment.
During my research I have found that it may be possible to import ACI configuration to your terraform state. Has anyone tried this process in the past? Is it possible? Can anyone point me to some documentation on doing this?
01-14-2023 09:49 AM
I would look at these to guide you:
'Importing With Terraform' section here --> https://blogs.cisco.com/developer/introduction-to-terraform-with-aci-part-2
'Import Resources' section on page 15 --> https://www.ciscolive.com/c/dam/r/ciscolive/us/docs/2019/pdf/DEVNET-2340.pdf
aci_configuration_import_policy --> https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/configuration_import_policy
02-01-2024 06:55 AM
Has this been resolved? Do you still need help?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide