Hello! I am using Pulumi to provision a function a...
# azure
b
Hello! I am using Pulumi to provision a function app using the .NET version of Pulumi (v3.157.0). After running the initial
pulumi up
that provisioned the funciton app, I published my function app code. Then, I made a change to the App Settings listed for the function app in the Pulumi script. When I ran
pulumi up
again, resulting in a update for the function app, my zip deployment was removed resulting in removal of all functions and their configurations. What can I do to keep existing zip deployments when
pulumi up
performs an update to the resource?
m
Check your app settings after making a zip deploy. I think the location of the zip is stored in an app setting. So I think you can just specify your resource to ignore this setting when it changes. Do you see what I mean ?
Something like that in your resource options: { ignoreChanges: ["properties.MY_SETTING"], });
@best-library-53169 did it work?