Open rasanentimo opened 1 day ago
Hi @rasanentimo ,
Thank you for bringing this issue to our attention. I was able to reproduce it, and it appears that the destroy fortios_system_global command attempts to reset all settings to their initial state, similar to the unset operation in the CLI. However, when unsetting the timezone, the CLI tries to leave it empty rather than its default value, which is not accepted by FortiOS. I've reported this to the IaC development team for careful handling. We appreciate your patience as we work on a resolution.
Thanks, Maxx
Description
I created following resource
but I'm getting error when trying to destroy it, i.e. terraform tries to set timezone empty string/'' which fails.
The same can be seen on the debug