-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get config of existing vm #162
Comments
can you please check again with the newest version? i just tried to import one of my VMs and it worked without any problems. my code was:
the output of a preview was:
my environment variables are (redacted):
|
Your code worked, after changing the parameters. The output didnt really contain much information. Is it possible to query an existing vm of its config so I can fill in the values requested of me when creating a new vm, like what bios, network configs, bridge etc... See link for values of interest |
this extension needs to be filed in the upstream provider (https://github.com/bpg/terraform-provider-proxmox). you can see the relevant resource/datasource in upstream here: https://github.com/bpg/terraform-provider-proxmox/blob/main/proxmoxtf/datasource/vm.go#L29 can you create an upstream issue and cross-reference it for tracking purposes? |
Sorry for opening and closing, im pressing the wrong button... Im not familiar with cross referencing issues in github, a fast google didnt make me any wiser. Is it just linking the issue here or do you want me to do something else? Issue created |
no worries, and thanks for the cross-referencing by posting the upstream issue link! it‘s just that one finds the upstream issue when checking that one out. 👍🏻 |
Do you want a new issue for implementing that, I take it as this issue has been resolved, and can be closed after agreeing on what to do with the upstream issue |
just keep this one open. 🙂 once the upstream issue has been resolved/implemented and this provider updated, i‘ll close it as resolved. |
Hi, Im new to this so my assumptions might be wrong, but I got 2 vms, and want to create the third vm with pulumi.
Im hoping its possible to look-up an existing vm, modify that config to create the code to generate the third.
https://www.pulumi.com/registry/packages/proxmoxve/api-docs/vm/virtualmachine/#look-up
I have attached my code and the error message I get, seems to complain I dont pass node_name, which I have set to proxmox, unless there is a config somewhere Im missing.
pulumi-proxmoxve==5.13.1
The text was updated successfully, but these errors were encountered: