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