Add the AZD_TEMPLATE parameter in the configuration. When the value is enable, azd template logic will be used when configuring SQL Server, otherwise locally logic will be used.

This commit is contained in:
zedy
2023-02-07 13:47:55 +08:00
parent 2a67d21396
commit cdc079a20b
3 changed files with 33 additions and 32 deletions

View File

@@ -60,6 +60,7 @@ module web './core/host/appservice.bicep' = {
AZURE_SQL_CATALOG_CONNECTION_STRING_KEY: 'AZURE-SQL-CATALOG-CONNECTION-STRING'
AZURE_SQL_IDENTITY_CONNECTION_STRING_KEY: 'AZURE-SQL-IDENTITY-CONNECTION-STRING'
AZURE_KEY_VAULT_ENDPOINT: keyVault.outputs.endpoint
AZD_TEMPLATE: 'enable'
}
}
}