Hello,
I have some doubts though...
Should we expose the resource using the same names as the ones used on the Vultr API? For example, the resource `name` property is actually called `label` on the API. Which one should I use? (in this particular case, I'm using the same name as the vultr library). There are other cases, for example, `ipv4_address` comes from `main_ip`. So, what is the general advice here? just stick with the API names? the library names?
A Vultr server is ready when two attributes have a specific value. The original DO provider code only had code to check for one attribute at a time, so I'm doing this in two steps. First, check the `status` attribute, and then the `power_status`, is this OK? Or maybe the underline library (terraform?) should be changed to support multiple attributes?
When we manually delete a server using the Vultr control panel and we try a terraform destroy, it fails with:
vultr_server.example: Refreshing state... (ID: 2102338)
Error refreshing state: 1 error(s) occurred:
* 1 error(s) occurred:
* Error retrieving server: Invalid server.
How should one recover from this? Manually delete the server from the tfstate file?
TIA!
-- RGL