Fixed new interface.

This commit is contained in:
Emiliano Vavassori 2023-12-31 22:55:35 +01:00
parent 378ae3caac
commit 052df02ebc

View File

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