CiscoDevNet/terraform-provider-sdwan

unable to define multiple site list entries in a given sequence with the sdwan_custom_control_topology_policy_definition resource

Opened this issue · 1 comments

I am unable to configure multiple site_list_id match_entries in the same sequence when using the sdwan_custom_control_topology_policy_definition resource. In this case, I am referencing different site lists, and I am able to configure this in the UI.

below are some snippets:

ERROR

image

VALID (Source VARs)

image

INVALID (Source VARs)

image

UI EXAMPLE

image

Thank you for opening the issue. Each sequence rule created in the UI creates it is own sequence in the JSON payload, meaning in your example the UI is creating two individual sequences with matching names. You can see the JSON payload using the chrome developer tool and going to the network tab.

UI EXAMPLE

UI

JSON PAYLOAD

API

JSON PAYLOADS EXPANDED

UI-2