https://pulumi.com logo
#general
Title
# general
a

ambitious-father-68746

05/22/2023, 4:18 PM
OK, I get the error when using
--target
and
--replace
together. If I only use
--replace
I don't get the error, but it's only targeting those resources, not everything else in the stack. I think this is not correct.
m

mammoth-salesclerk-61945

05/22/2023, 6:03 PM
Hi. What version of pulumi are you currently on?
a

ambitious-father-68746

05/22/2023, 6:48 PM
v3.68.0
m

mammoth-salesclerk-61945

05/22/2023, 7:12 PM
We've been doing some work in the engine to resolve some issues with a user using
--target
--target-replace
and the changes for
--target-replace
must be causing the issue.
I'll open an issue to track this, but I think in the meantime you should be able to use a version of pulumi before the changes. Looking up a version that should be unaffected
v3.65.1 was before the start of these changes. sorry for the inconvenience. opening an issue and I'll link it here
a

ambitious-father-68746

05/22/2023, 7:16 PM
Oh no downgrade for me, I'm still dealing with the aftermath of https://github.com/pulumi/pulumi/issues/12964. But thanks for looking into it.
m

mammoth-salesclerk-61945

05/22/2023, 7:23 PM
Another user reported that the behavior isn't present in v3.65.1 for https://github.com/pulumi/pulumi/issues/12964
The bug got introduced with v3.66.0. The previous version 3.65.1 does not show this behavior.
so it might unblock you unless there were other fixes that necessitate not being on v3.65.1. side-note: I've opened the issue https://github.com/pulumi/pulumi/issues/13001 to track it. really appreciate you letting us know about this.
a

ambitious-father-68746

05/22/2023, 7:59 PM
I'll add my comments, thank you!