Closed gerardlemetayerc closed 6 months ago
Add debug info on resourceDevice42DeviceRead to diagnose issue.
Following actions were took :
Looks like issue is linked to "debug" mode from resty client. When debug is disable, issue is not occuring anymore. Removing lines from code with debug mode to prevent issue (and will check is issue still producing).
Looks like it's ok now. Closing issue.
When executing refresh, got the following issue (random)
Probably linked with following line : https://github.com/gerardlemetayerc/terraform-provider-device42/blob/main/device42/resource_virtual_machine.go#L210. Diagnostic had to be done (suspected incorrect answer from API side).