Hi, is there a pulumi equivalent of terraform's ta...
# general
h
Hi, is there a pulumi equivalent of terraform's taint command?
e
Not currently, issue tracking it at https://github.com/pulumi/pulumi/issues/11657 if you want to upvote
w
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
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.