-
-
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
[AUTH] Problem with authentication #427
Comments
hi, Your environment variables look good to me. theoretically, you can omit initializing and passing in a new provider. these environment variables will be considered by default when the provider is used. did you check printing ( ...
console.log(process.env.PROXMOX_VE_ENDPOINT);
console.log(process.env.PROXMOX_VE_USERNAME);
console.log(process.env.PROXMOX_VE_PASSWORD);
console.log(process.env.PROXMOX_VE_INSECURE);
... if they are set correctly, can you try to omit the initialization and passing of the provider? import * as pulumi from "@pulumi/pulumi";
import * as proxmox from "@muhlba91/pulumi-proxmoxve";
const virtualMachine = new proxmox.vm.VirtualMachine(
"vm",
{
nodeName: "pve1",
agent: {
enabled: false,
trim: true,
type: "virtio",
},
bios: "seabios",
cpu: {
cores: 1,
sockets: 1,
},
clone: {
nodeName: "pve1",
vmId: 9000,
full: true,
},
disks: [
{
interface: "scsi0",
datastoreId: "local-lvm",
size: 32,
fileFormat: "qcow2",
},
],
memory: {
dedicated: 1024,
},
name: "proxmox-vm",
networkDevices: [
{
bridge: "vmbr0",
model: "virtio",
},
],
onBoot: true,
initialization: {
type: "nocloud",
datastoreId: "local-lvm",
dns: {
domain: "example.com",
server: "1.1.1.1 1.0.0.1",
},
},
},
); |
I'm getting the same issue with both reproduction @ndabwn can you try with
|
Hello, this is my first time trying pulumi, i have proxmox server laying around and decided to give this a try.
i have check that
I have an issue while trying to run the pulumi, i got this error
I have problem resolving this issue as I tried to console.log the content of the env var and it was set correctly
to reproduce
pulumi login --local
pulumi new typescript
yarn add @muhlba91/pulumi-proxmoxve
pulumi up
for more context this was my env config and my index.ts file
versions
v3.137.0
v6.15.1
v18.20.0
would appreciate any kind of help, thanks!
The text was updated successfully, but these errors were encountered: