We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e548803 commit c9cd4ccCopy full SHA for c9cd4cc
rg_funcapp.bicep
@@ -149,13 +149,14 @@ var flex_scale_and_concurrency = {
149
instanceMemoryMB: 2048
150
}
151
152
-var function_app_config = use_shared_keys ? {
+// Define common app config
153
+var common_app_config = {
154
runtime: function_runtime
155
scaleAndConcurrency: flex_scale_and_concurrency
-} : union({
156
- runtime: function_runtime
157
- scaleAndConcurrency: flex_scale_and_concurrency
158
-}, {
+}
+
+// For managed identity, add the deployment configuration, otherwise just use common config
159
+var function_app_config = use_shared_keys ? common_app_config : union(common_app_config, {
160
deployment: flex_deployment_configuration
161
})
162
0 commit comments