Ancora correzioni al template - 1.

This commit is contained in:
Emiliano Vavassori 2022-08-17 02:19:17 +02:00
parent bda7120cd9
commit e6fe648191

View File

@ -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)