We are using Terraform to deploy Web Apps to Azure and want to move away from using the web.config for configuration settings. I believe we can implement these at deployment time using the app_settings
argument on the azurerm_app_service
resource but trying to find examples of how it should be properly formatted.
The app_settings
is a key-value pair of App Settings for the App Service.
The format of it:
app_settings {
"SOME_KEY" = "some-value"
}
For more details, you could refer to this article.