Fixed new interface.
This commit is contained in:
parent
378ae3caac
commit
052df02ebc
@ -9,12 +9,10 @@ conf = DotMap(yaml.safe_load(open("input.yaml").read()))
|
|||||||
config = pulumi.Config()
|
config = pulumi.Config()
|
||||||
|
|
||||||
provider = proxmox.Provider("proxmoxve",
|
provider = proxmox.Provider("proxmoxve",
|
||||||
virtual_environment = {
|
endpoint=conf.pve.url,
|
||||||
"endpoint": conf.pve.url,
|
insecure=conf.pve.insecure,
|
||||||
"insecure": conf.pve.insecure,
|
username=conf.pve.username,
|
||||||
"username": conf.pve.username,
|
password=config.require_secret("password")
|
||||||
"password": config.require_secret("password")
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
vm = proxmox.vm.VirtualMachine(conf.vm.name,
|
vm = proxmox.vm.VirtualMachine(conf.vm.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user