cisco-en-programmability / terraform-provider-dnacenter

https://registry.terraform.io/providers/cisco-en-programmability/dnacenter/latest/docs
MIT License
14 stars 12 forks source link

In-place update `dnacenter_reserve_ip_subpool` #242

Open mschedrin opened 12 months ago

mschedrin commented 12 months ago

DNAC GUI and API allows to update only certain parameters on reserved ip pool. Resource dnacenter_reserve_ip_subpool attempts to do in-place update upon change of any parameter and fails if unchangeable parameter is being updated. Please implement resource recreation when unchangeable parameters are modified. Here is the list of resources that are changeable:

name
ipv4DhcpServers
ipv4DnsServers
ipv6DhcpServers
ipv6DnsServers

Modifications of any other parameter should trigger resource re-creation.

kuba-mazurkiewicz commented 9 months ago

@zapodeanu @fmunozmiranda can you add ForceNew: true, to all attributes except those mentioned by Mikhail ? I included fix in PR #258