green-morning-1318
03/19/2020, 2:17 AMDeleteBeforeReplace
, when set to true, ensures that this resource is deleted prior to replacement. It looks like it doesn’t do the same for a “_Create_”. In my case, I’m using an API Gateway on AWS and when I make changes to resources they should be deleted before creating them (otherwise you get an error). Is there a way to do that in Pulumi?white-balloon-205
aliases
to indicate that one of the resources (the one you are creating) was previously known by a different name. This will cause it to be replaced (and change name in the process).
If that doesn’t help - would likely need more concrete details of your use case.green-morning-1318
03/19/2020, 4:00 AM