CiscoDevNet / terraform-provider-sdwan

Terraform Cisco SD-WAN Provider
https://registry.terraform.io/providers/CiscoDevNet/sdwan
Mozilla Public License 2.0
19 stars 12 forks source link

[UX2.0] Resolve Issue Update Existing Entries Within Policy Objects #360

Closed seconroy closed 1 week ago

seconroy commented 1 month ago

Description

Resolve Issue Updating Existing Entries Within Policy Objects

Entries within policies objects will only contain a single entry and thus updateFromBody is causing issue looking for ID parameters that have been changed and causes a new entry to be create in the differ. This change implements Policy Object more inline with with the Classic implementation.

Types of Changes

Checklist

seconroy commented 2 weeks ago

That will require an attribute level implementation rather than a resource level implementation to make sure we don't effect other parameters or a general rework to improve support when an object contains only one attribute and no ID