How to set custom app settings in Microsoft.Web/sites web app? #1132
Replies: 3 comments 1 reply
|
We found out that the Is this intended behavior? |
|
Hey MJ Rathbun (@bert2), excuse the late reply. Discussions are not that commonly used in this repository. It seems the module app_appsettings 'config/deploy.bicep' = {
name: '${uniqueString(deployment().name, location)}-Site-Config'
params: {
name: 'appsettings'
appName: app.name
storageAccountId: !empty(storageAccountId) ? storageAccountId : ''
appInsightId: !empty(appInsightId) ? appInsightId : !empty(appInsightObject) ? appInsight.outputs.resourceId : ''
functionsWorkerRuntime: !empty(functionsWorkerRuntime) ? functionsWorkerRuntime : ''
functionsExtensionVersion: !empty(functionsExtensionVersion) ? functionsExtensionVersion : '~3'
... <- no other parameters
}
}We have discussed this issue recently and somebody should pick the issue up soon. I'll be curious to see the result. |
|
MJ Rathbun (@bert2) Please check out the latest module version. It was reworked and supports CustomAppSettings (aside from a couple other features) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We're struggling with the usage of the
Microsoft.Web/sitesmodule. In particular we can't find a way to provision it with our custom app settings. This is how we are trying to achieve this:The deployment works without errors, but the web app doesn't get this setting. So is this the correct way? Unfortunately we can't find any usage examples.
All reactions