https://pulumi.com logo
#general
Title
# general
c

cool-egg-852

06/20/2019, 8:15 PM
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

gentle-diamond-70147

06/20/2019, 8:36 PM
You can set this on the resources themselves. https://pulumi.io/reference/programming-model/#deletebeforereplace
c

cool-egg-852

06/21/2019, 7:49 PM
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

gentle-diamond-70147

06/25/2019, 4:15 PM
Do you mind opening an issue at https://github.com/pulumi/pulumi with more information no what you're trying to achieve?
c

cool-egg-852

06/25/2019, 5:56 PM