You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to be able to import existing resources to aid in getting a matching config and to avoid having to re-image existing VMs to bring them under terraform management.
Describe the solution you'd like
The ability to import VM resources (and others)
Describe alternatives you've considered
The other ProxMox plugin supports imports, but it hasn't seen any active development so I'm considering using this one.
Additional context
I looked in to what it would take to support imports. Usually the resource can implement the "Importer" field using the included schema.ImportStatePassthrough identity function which sets the ID and relies on the resource read to populate the current state. However, because this plugin is using just the numerical ID to as the resource ID it's not possible to use the REST API with just the ID.
The other proxmox plugin uses a string containing both fields as a VM id, for example "host10/qemu/100" instead of just "100" which makes import easy.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to be able to import existing resources to aid in getting a matching config and to avoid having to re-image existing VMs to bring them under terraform management.
Describe the solution you'd like
The ability to import VM resources (and others)
Describe alternatives you've considered
The other ProxMox plugin supports imports, but it hasn't seen any active development so I'm considering using this one.
Additional context
I looked in to what it would take to support imports. Usually the resource can implement the "Importer" field using the included
schema.ImportStatePassthrough
identity function which sets the ID and relies on the resource read to populate the current state. However, because this plugin is using just the numerical ID to as the resource ID it's not possible to use the REST API with just the ID.The other proxmox plugin uses a string containing both fields as a VM id, for example "host10/qemu/100" instead of just "100" which makes import easy.
The text was updated successfully, but these errors were encountered: