03-16-2024 05:13 AM
Hey everyone,
I'm trying to create a static binding in a EPG PC or VPC using Terraform, but I can't find this function in the registry.
In Ansible, I can set the interface_type variable to "switch_port", "port_channel", or "vpc".
Is there a way to achieve this in Terraform, or is it not supported?
resource "aci_epg_to_static_path" "example" {
application_epg_dn = aci_application_epg.example.id
tdn = "topology/pod-1/paths-129/pathep-[eth1/3]"
annotation = "annotation"
encap = "vlan-1000"
instr_imedcy = "lazy"
mode = "regular"
primary_encap ="vlan-500"
}
Solved! Go to Solution.
03-16-2024 05:34 AM
My bad, I've solved the 'problem.' I just realized that the tdn for a VPC is structured differently. You can create a VPC by adjusting the 'tdn' to the correct path.
03-16-2024 05:34 AM
My bad, I've solved the 'problem.' I just realized that the tdn for a VPC is structured differently. You can create a VPC by adjusting the 'tdn' to the correct path.
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