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

hallowed-train-1850

04/18/2023, 1:29 PM
Hi, is there a pulumi equivalent of terraform's taint command?
e

echoing-dinner-19531

04/18/2023, 2:27 PM
Not currently, issue tracking it at https://github.com/pulumi/pulumi/issues/11657 if you want to upvote
w

white-balloon-205

04/18/2023, 4:15 PM
Note that targeted updates are frequently used for similar use cases. Via the
—target
flag on the CLI: https://www.pulumi.com/docs/reference/cli/pulumi_up/. The issue linked above notes a somewhat specific use case where you might need tainting specifically, but for the majority of use cases we typically find targeted updates can be a better solution. But depends on the specific need.
f

fierce-ability-58936

04/18/2023, 9:21 PM
Maybe I'm thinking about something else but I guess it depends on what the actual use case for
taint
is. When I need to replace a resource, with terraform it's terraform taint xx -> terraform plan -> terraform apply With Pulumi it's
pulumi up --replace urn:xx
taints in ci/cd are something different as per the issue above.
4 Views