Piccoli aggiustamenti ai template per proxmox vm.
This commit is contained in:
parent
3d0dce28c2
commit
ab749f7e11
2 changed files with 10 additions and 10 deletions
|
@ -14,12 +14,10 @@ i.close()
|
|||
config = pulumi.Config()
|
||||
|
||||
provider = proxmox.Provider("proxmoxve",
|
||||
virtual_environment = {
|
||||
"endpoint": input_['pve']['url'],
|
||||
"insecure": input_['pve']['insecure'],
|
||||
"username": input_['pve']['username'],
|
||||
"password": config.require_secret("password")
|
||||
}
|
||||
endpoint=input_['pve']['url'],
|
||||
insecure=input_['pve']['insecure'],
|
||||
username=input_['pve']['username'],
|
||||
password=config.require_secret("password")
|
||||
)
|
||||
|
||||
vm_name = input_['vm']['name']
|
||||
|
@ -75,7 +73,8 @@ vm = proxmox.vm.VirtualMachine("vm",
|
|||
)
|
||||
),
|
||||
opts = pulumi.ResourceOptions(
|
||||
provider = provider
|
||||
provider = provider,
|
||||
custom_timeouts=pulumi.CustomTimeouts(create="3m")
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue