This message was deleted.
# general
s
This message was deleted.
d
There are resourceoptions you can define with the resource to control things like that where the provider may not already do. https://www.pulumi.com/docs/intro/concepts/resources/options/ the two that are probably notable for this one is replaceOnChanges and deleteBeforeReplace
there is also a
--target-replace
option on pulumi up. i dont know if that would do exactly what your looking for.
b
Hmm. What if i change something on it, that doesn't require the resource to be recreated - Wouldn't it than also be recreated each time? I'd only want this to happen, specifically when theres a change that requires it, if you know what i mean Regarding --target-replace. This might be what i'm looking for, although i'd prefer to be able to manually "taint" something before, and then let a pipeline of some sort handle the actual pulumi up run. I'll take in any ideas!
d
You can specify which option within the resource will trigger the replacement, so you can define it to only replace if foo changes, but update if bar changes.
b
This might be the solution then. I appreciate the help!