Comments (4)
your code doesn‘t set the disk
property. hence, the default one applies and i guess then a diff is detected. when previewing, can you select details
to see what exactly changed in the disk
property?
that should give you a hint on what you need to set in your code to propose the same configuration than the container has after creation.
if you really don‘t want/need to set the disk
property a simple way to ignore that property is the pulumi resource option ignoreChanges
to be set to ['disk']
.
from pulumi-proxmoxve.
Fantastic, with ignoreChanges
I get the "desired" behaviour:
I'll probably just daisy chain the disk
property from the template to the containers, to avoid the default reset, and stay explicit about what's happening.
Thank you very much!
from pulumi-proxmoxve.
can you please provide an example, and the outcome of a pulumi preview
?
i suppose something changed that forces replacement; for this it's necessary to have as many details as possible.
from pulumi-proxmoxve.
Sure thing (it's very possible I'm doing something wrong?):
Screenshot for the omega
stack at this commit: https://gitlab.com/home.cloud/infra/cloud/-/blob/cff349851787bf400cf281f688142c6330ca34aa/src/ct/index.ts#L73-104
To not confuse my OpenWRT router, I generally stick to deleteBeforeReplace: true
; however, disabling this (I commented it out to reproduce the "bug"), should result in the default behaviour which recreates the CT before the proxmoxve provider deletes it.
Thanks for any hints, @muhlba91 ! 😄
from pulumi-proxmoxve.
Related Issues (20)
- Update to upstream 0.25.0 HOT 1
- Startup/Shutdown options require the up_delay and down_delay to be set up HOT 4
- 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
- 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
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.