Ancora correzioni al template - 1.
This commit is contained in:
parent
bda7120cd9
commit
e6fe648191
@ -4,7 +4,7 @@ import pulumi
|
|||||||
import pulumi_proxmoxve as proxmox
|
import pulumi_proxmoxve as proxmox
|
||||||
|
|
||||||
config = pulumi.Config()
|
config = pulumi.Config()
|
||||||
data = pulumi.require_object("pve")
|
data = config.require_object("pve")
|
||||||
|
|
||||||
provider = proxmox.Provider("proxmoxve",
|
provider = proxmox.Provider("proxmoxve",
|
||||||
virtual_environment = {
|
virtual_environment = {
|
||||||
@ -67,9 +67,9 @@ vm = proxmox.vm.VirtualMachine("vm",
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
#opts = pulumi.ResourceOptions(
|
opts = pulumi.ResourceOptions(
|
||||||
# provider = provider
|
provider = provider
|
||||||
#)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
pulumi.export("ip", vm.ipv4_address)
|
pulumi.export("ip", vm.ipv4_address)
|
||||||
|
Loading…
Reference in New Issue
Block a user