Comments (4)
can you please verify, and open an issue for this in the upstream provider? (https://github.com/bpg/terraform-provider-proxmox)
this resource takes the terraform provider and maps its definition to pulumi resources. if this mapping leads to such behaviour itβs either an upstream requirement/issue or is autogenerated errornously through the pulumi generator. so far, alls of these minor mapping issues have been upstream issues though.
from pulumi-proxmoxve.
I'v tried to configure a vm resource directly with the upstream provider, the vm creates with no issues:
the upstream provider version is 0.28.0
resource "proxmox_virtual_environment_vm" "test_node" {
startup {
order = "3"
// up_delay and down_delay will have a default value
}
}
terraform apply:
...
+ startup {
+ down_delay = -1
+ order = 3
+ up_delay = -1
}
and the resulting VM has values as expected:
If i configure vm resource with pulumi with the running pulumi versions:
pulumi==3.78.0
pulumi-proxmoxve==5.10.0
proxmox.vm.VirtualMachine(
startup=proxmox.vm.VirtualMachineStartupArgs(order=3),
...
the pulumi up
throws error:
error: proxmoxve:VM/virtualMachine:VirtualMachine resource 'test-vm' has a problem: expected up_delay to be at least (0), got -1. Examine values at 'test-vm.startup.upDelay'.
error: proxmoxve:VM/virtualMachine:VirtualMachine resource 'test-vm' has a problem: expected down_delay to be at least (0), got -1. Examine values at 'test-vm.startup.downDelay'.
from pulumi-proxmoxve.
i have tested the startup order with the newest version, and the default values are the same as in Terraform: -1
.
i have tested this with the newest Proxmox version. maybe there's a difference in Proxmox between versions?
btw. because of the way Pulumi computes the diff, it will take the plan generated by Terraform.
hence, you need to either set these values to the same (-1
) or add them to the ignoreDifferences
parameter if you don't want to have an "update" every time.
from pulumi-proxmoxve.
closing as it is fixed upstream.
from pulumi-proxmoxve.
Related Issues (20)
- Are there any plans on supporting LXC containers? HOT 2
- VirtualMachineDiskSpeedArgs HOT 1
- Lack of python documentation
- No parity with upstream tf proxmox provider HOT 3
- Disable default values? HOT 1
- Get config of existing vm HOT 7
- Empty/non set container features forces replacement on import
- How to disable replacing CTs on `pulumi up`? HOT 4
- Resizing disk on a clone endless loop HOT 2
- C# SDK CloudInit not take care or configuration on deploy HOT 3
- Add HA group support HOT 4
- Missing pool id after pool import leads to recreating the pool HOT 3
- timeouts does not apply all the time HOT 2
- Invalid Go SDK module HOT 2
- error retrieving next VM ID: received an HTTP 401 response - Reason: no such token 'TOKENID' for user 'dev@pve' HOT 1
- how to specifiy a config file to uploaded to vm then genereate seed.iso to setup vm with cloudinit? HOT 3
- pulumi hangs if passing the 'started: true' option. HOT 4
- How to print the local IP out that qemu-guest-agent displays? HOT 3
- No option to Link clone a container HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulumi-proxmoxve.