Closed rasanentimo closed 3 weeks 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
Hi @rasanentimo,
I'm pleased to let you know that we've released Terraform FOS 1.21.1, which should address the issue you've encountered. Please feel free to upgrade at your convenience, and don’t hesitate to reach out if you have any further questions or need assistance.
Thank you, Maxx
Hi @MaxxLiu22 !
I can confirm that this works now as expected.
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