sparse-intern-71089
08/22/2021, 9:18 PMbored-table-20691
08/22/2021, 9:42 PMsteep-sunset-89396
08/23/2021, 12:29 AMbig-island-38073
08/23/2021, 1:21 AMexport const talos0vmid = talos0.vmid$ pulumi up
Previewing update (dev)
View Live: <https://app.pulumi.com/daneroo/pulumi-pxmx/dev/previews/e0d01581-a834-4b2c-8546-7b7fbe758a72>
     Type                 Name             Plan     
     pulumi:pulumi:Stack  pulumi-pxmx-dev           
 
Outputs:
  + talos0vmid: output<string>
  + talos1vmid: output<string>
Resources:
    3 unchanged$ pulumi stack output
Current stack outputs (0):
    No output values currently in this stacksteep-sunset-89396
08/23/2021, 1:34 AM{prop1: val1, prop2: val2}pulumi uppulumi previewpulumi previewpulumi upbig-island-38073
08/23/2021, 1:39 AMpulumi upsteep-sunset-89396
08/23/2021, 1:42 AM.vmidbig-island-38073
08/23/2021, 1:43 AMnetworks
[
  {
    "bridge": "vmbr0",
    "firewall": false,
    "linkDown": false,
    "macaddr": "9E:28:27:8A:97:0E",
    "model": "virtio",
    "queues": 0,
    "rate": 0,
    "tag": -1
  }
]big-island-38073
08/23/2021, 1:45 AMsteep-sunset-89396
08/23/2021, 1:50 AMexport const macaddr = talos0.networks[0].macaddr;steep-sunset-89396
08/23/2021, 1:51 AMsteep-sunset-89396
08/23/2021, 1:52 AMpulumi stack export > stack.jsonbig-island-38073
08/23/2021, 2:08 AMexport const macaddr = talos0.networks[0].macaddrElement implicitly has an 'any' type because expression of type '0' can't be used to index type 'Output<QemuVMNetwork[] | undefined>'.
  Property '0' does not exist on type 'Output<QemuVMNetwork[] | undefined>'.$ pulumi stack export | jq -r .deployment.resources[2].outputs.networks[0].macaddr
F2:97:D7:F8:24:C5
$ pulumi stack export | jq -r .deployment.resources[3].outputs.networks[0].macaddr
9E:28:27:8A:97:0Ebig-island-38073
08/23/2021, 2:11 AM@matchlighter/pulumi-proxmoxvebig-island-38073
08/23/2021, 2:13 AMsteep-sunset-89396
08/23/2021, 2:15 AMbig-island-38073
08/23/2021, 2:22 AMbig-island-38073
08/23/2021, 2:28 AM.isosteep-sunset-89396
08/23/2021, 3:33 AM