cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1359
Views
0
Helpful
2
Replies

ACI Terraform Import

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?

2 Replies 2

Alex Stevenson
Cisco Employee
Cisco Employee

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

 

 

Ruben Cocheno
Spotlight
Spotlight

justin.solomon@fcsamerica.com 

Has this been resolved? Do you still need help?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


This community is intended for developer topics around Data Center technology and products. If you are looking for a non-developer topic about Data Center, you might find additional information in the Data Center and Cloud community