Enhancements:
- added http request time log for api calls
- updated to go version 1.17, updated to sdk version 6.0.0
- for
k8s_node_pool
,nic
,ipfailover
, andshare
:- made tests comprehensive
- optimized test duration by including both match by id and by name in the same test
- removed duplicated code from import, data_source, resource and tests files
- improved tests on natgateway and natgateway_rule
Features:
- import for
nic
, data_source fornic
,share
,ipfailover
Fixes:
- k8s_node_pool update node_count and emptying lans and public_ips didn't work
- fixed bug at creating natgateway_rule - target_subnet was not set properly
- revert icmp_code and icmp_type to string to allow setting to 0
- Add additional fixes to improve code stability and prevent crashes. Revert icmp_type and icmp_code inside server resource and add tests.
- Allow creation of an inner firewall rule for server when updating a terraform plan.
- fixed issue #155: added stateUpgrader for handling change of lan field structure
- fix sporadic EOF received when making a lot of concurrent https requests to server (fixed in sdk 6.0.0)
- fixed #154: allow url to start with "http" (fixed in sdk 6.0.0)
- fixed #92: user password change
- fix user update and password field is now sensitive
- fix crash when no metadata is received from server