I think it should, ignore_changes just tells it to use the values it last saw for inputs. The replace should still happen though.
f
fierce-ability-58936
08/10/2022, 8:12 PM
I think it shouldn't. More specifically, I had ignore_changes for one attribute so it didn't recreate the resource automatically, but then I ran
up --replace
to actually replace it and expected it to create a new resource based on the new definition in the code.
e
echoing-dinner-19531
08/10/2022, 10:31 PM
ah right, you kinda need an ignore-ignore-changes option 😬
If any other (non-ignored) attribute had changed and triggered a replace the "ignore_changes" properties would still have their old value, doesn't seem consistent for
--replace
to change from that.
Might be worth opening an issue on github about this
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.