Giter Site home page Giter Site logo

Comments (4)

muhlba91 avatar muhlba91 commented on June 1, 2024 1

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.

pcuci avatar pcuci commented on June 1, 2024 1

Fantastic, with ignoreChanges I get the "desired" behaviour:

image

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.

muhlba91 avatar muhlba91 commented on June 1, 2024

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.

pcuci avatar pcuci commented on June 1, 2024

Sure thing (it's very possible I'm doing something wrong?):

image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.