diff --git a/proxmoxve-python/__main__.py b/proxmoxve-python/__main__.py index fb37d45..f6ab4ea 100644 --- a/proxmoxve-python/__main__.py +++ b/proxmoxve-python/__main__.py @@ -4,7 +4,7 @@ import pulumi import pulumi_proxmoxve as proxmox config = pulumi.Config() -data = pulumi.require_object("pve") +data = config.require_object("pve") provider = proxmox.Provider("proxmoxve", virtual_environment = { @@ -67,9 +67,9 @@ vm = proxmox.vm.VirtualMachine("vm", ] ) ), - #opts = pulumi.ResourceOptions( - # provider = provider - #) + opts = pulumi.ResourceOptions( + provider = provider + ) ) pulumi.export("ip", vm.ipv4_address)