CiscoDevNet/terraform-provider-sdwan

sdwan_application_aware_routing_policy_definition: match type "serviceArea" not accepted

Opened this issue · 0 comments

Here's GUI configuration for SaaS:
image

terraform import understands and imports the "serviceArea" type of "match_entries", however, when applying this in a resource configuration, getting the error:

│ Error: Invalid Attribute Value Match
│ 
│   with sdwan_application_aware_routing_policy_definition.CN_AAR_POLICY,
│   on sdwan-tf-import-main.tf line 5855, in resource "sdwan_application_aware_routing_policy_definition" "CN_AAR_POLICY":
│ 5855: resource "sdwan_application_aware_routing_policy_definition" "CN_AAR_POLICY" {
│ 
│ Attribute sequences[0].match_entries[0].type value must be one of: ["appList" "dnsAppList" "dns" "dscp" "plp" "protocol" "sourceDataPrefixList" "sourceIp" "sourcePort"
│ "destinationDataPrefixList" "destinationIp" "destinationRegion" "destinationPort" "trafficTo"], got: "serviceArea"