Azdevify eshopOnWeb
This commit is contained in:
14
infra/core/host/appservice-config-sqlserver.bicep
Normal file
14
infra/core/host/appservice-config-sqlserver.bicep
Normal file
@@ -0,0 +1,14 @@
|
||||
param appServiceName string
|
||||
param sqlConnectionStringKey string
|
||||
|
||||
module appServiceConfigSqlServerSettings 'appservice-config-union.bicep' = {
|
||||
name: '${appServiceName}-appservice-config-sqlserver-settings'
|
||||
params: {
|
||||
appServiceName: appServiceName
|
||||
configName: 'appsettings'
|
||||
currentConfigProperties: list(resourceId('Microsoft.Web/sites/config', appServiceName, 'appsettings'), '2022-03-01').properties
|
||||
additionalConfigProperties: {
|
||||
AZURE_SQL_CONNECTION_STRING_KEY: sqlConnectionStringKey
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user