Closed bobbylewiss closed 10 hours ago
Hey @bobbylewiss 👋🏼
Your PVE host probably does not have local-lvm
datastore set up, as this is the default value of datastore_id
in the tpm_state
resource.
Could you confirm if this is the case?
If it is, I would argue that this is not an issue, but rather an expected behaviour, as all defaults are catered to a straightforward PVE setup with LVM storage.
You are right, i'm not using local-lvm by default. Something I need to watchout. But its still weird to destroy the running vm... Thank you and keep the good work !
Describe the bug
Hello, I'm new here and trying to use your provider, which is really nice btw (before i used telmate). I have found a little issue on the documentation in main/docs/resources/virtual_environment_vm.md for tpm state :
If
datastore_id
is not set this will cause an error and destroy your vm if it's stopped.Thank you for your great work !
To Reproduce
Expected behavior It would be nice to have a gate keeper that says watch out, datastore_id is required, before applying and destroying your vm.
Additional context