Azure functions with environment app settings file

Amar-Azure-Practice 661 Reputation points
2020-09-30T20:19:07.39+00:00

Hi
I have Azure function created in VisualStudio 2019,
in Azure function i am reading few configuration values from app settings.
I want to maintain app setting different for each environments like,Dev,QA,Stage

please let me know how can i do this.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,605 questions
{count} votes

Accepted answer
  1. JayaC-MSFT 5,526 Reputation points
    2020-10-06T07:35:52.25+00:00

    @Amar-Azure-Practice How are you defining the app settings now ?

    In case of ARM template, you can use parameterized value for the app settings using resource type config-appsettings in the script.

    I am sharing couple of relevant reference link as how to parameterize the app settings in the script :

    https://stackoverflow.com/questions/59383303/arm-templates-for-azure-functions-with-many-appsettings-for-different-environmen

    https://blogs.perficient.com/2016/03/17/azure-arm-template-define-web-app-application-settings/

    https://microsoft.github.io/AzureTipsAndTricks/blog/tip163.html

    https://kalcik.net/2019/11/21/merge-azure-app-service-app-settings-in-arm-template/

    Please let me know if you have already implemented this or it helps in this case.

    0 comments No comments

0 additional answers

Sort by: Most helpful