Hey All, I've got a question about using pulumi.. ...
# getting-started
q
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
Seems like this command line option is what you want?
q
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