cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
284
Views
0
Helpful
1
Replies

Create Static Port Binding in a EPG PC/VPC with Terraform

nitsuj
Level 1
Level 1

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"
}

 

1 Accepted Solution

Accepted Solutions

nitsuj
Level 1
Level 1

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.

View solution in original post

1 Reply 1

nitsuj
Level 1
Level 1

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.

Save 25% on Day-2 Operations Add-On License