I based a small demo of deploying a typescript clo...
# azure
w
I based a small demo of deploying a typescript cloud function on this, https://github.com/pulumi/examples/blob/master/azure-ts-functions/index.ts example. It works fine if everything is done correct first time, but for me changing the value https://github.com/pulumi/examples/blob/master/azure-ts-functions/index.ts#L35 didn't update the actual cloud function it seemed. So to test it I had to delete the whole stack (just a demo) and deploy again. What is the right approach to update the function if the content of the blob is changed? @tall-librarian-49374 I noticed that you are one of the contributors to that example.
Does anyone else has an answer to this? Basically it seems like the function isn't restarted when it is deployed.
e
If you are deploying this via devops or similar, you can presumably trigger a restart with azure cli after pulumi up runs?
w
yeah, looks like that is the what I have to do, but I thought azure functions would be smart enough and recongnize that the data in the storage has changed and restart itself.