Is there a flag I am unaware of with `pulumi up` t...
# general
c
Is there a flag I am unaware of with
pulumi up
that will perform all deletes before creates? This would be really useful in some scenarios. Our current one is moving from manifests to helm. The resource names are the same, but the URNs are different. Having pulumi delete before create would mean we don’t need to resolve these conflicts manually.
g
You can set this on the resources themselves. https://pulumi.io/reference/programming-model/#deletebeforereplace
c
That’s the thing, I don’t want to modify resources for this.
This is a one time thing that needs to happen during migrations. Modifying resources for this purpose is wrong IMO given that it’s supposed to be IaC. We only want it to occur once.
g
Do you mind opening an issue at https://github.com/pulumi/pulumi with more information no what you're trying to achieve?
c