I have an Azure Functions app working for development purposes, using a Table Storage account with test data. Now I want to have a separate environment (same Functions app with different storage config/conn-string) for production.
So, how can I "copy" my Azure Functions App in order to avoid manual recreation of it in the Azure portal?
There are a couple of ways you can move the content from one Function App to another. The simplest is to copy the contents of your wwwroot
folder to the other environment, which you can do by using Kudu, FTP, etc.
Another way that is often simpler and less error prone is to setup CI/CD so that different branches will trigger deployments to different environments. You can learn more about the continuous deployment options here.
https://{functionName}.scm.azurewebsites.net/DebugConsole
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With