https://pulumi.com logo
Title
w

worried-knife-31967

04/23/2021, 2:30 PM
How does the azure provider determine what resources need a delete/create instead of update based on parameters? i.e. there are parameters that I know will end up with a replace for a specific resource (moving from Consumption to anything else in APIM), but how does the pulumi azure provider know this (spoiler it doesn't know that specific semantic)
t

tall-librarian-49374

04/26/2021, 6:09 AM
Microsoft has an annotation for this in Open API specs. However, the actual coverage is not great. We also have manual overrides in our code. It’s worth extending those and/or opening an issue upstream. Our overrides: https://github.com/pulumi/pulumi-azure-native/blob/master/provider/pkg/gen/replacement.go#L9