From e6fe648191ea838a19899c821b2e13721f599db4 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Wed, 17 Aug 2022 02:19:17 +0200 Subject: [PATCH] Ancora correzioni al template - 1. --- proxmoxve-python/__main__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)