🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)120 / 136
Question 120 of 136

Your team uses the ciscodevnet/iosxe Terraform provider to provision VLANs and then attach those VLANs to access interfaces. The interface resource references the VLAN ID through an interpolated attribute like iosxe_vlan.data_vlan.vlan_id. During 'terraform apply', you must guarantee the VLAN is created on the switch before the interface configuration that uses it is pushed, without adding any manual ordering. What is the correct way to ensure this ordering in Terraform?

Reviewed for accuracy · Report an issueNext question