https://pulumi.com logo
#getting-started
Title
# getting-started
q

quick-grass-21027

07/19/2023, 6:29 PM
Hey All, I've got a question about using pulumi.. is there a philosophical equivalent to
terraform taint
? i.e. tell pulumi to destroy and recreate a resource, even though the definition hasn't changed. I've done some cursory searching, and I know I can delete state from a stack manually, but that doesn't seem to delete the resource behind the state (e.g. the AWS EC2 instance).
f

full-eve-52536

07/19/2023, 6:31 PM
Seems like this command line option is what you want?
q

quick-grass-21027

07/19/2023, 6:33 PM
OK, thanks for the heads up. I'll take a look.
I played around with it a bit .. it looks like you also want
--target-dependents
or you'll end up not triggering important parts of your dependency graph (e.g. updating Route53 A records) ...
pulumi up --target-dependents --target-replace my:urn
worked for me
2 Views