main-deploy.bicep File: ------------ INPUTS ------------- @description('The RECEIVERAPI name as it appears in the url.') param customReceiverApiName string ------------ VARIABLES ------------- var receiverApiAppName = '${namingPrefix}-receiver-api' ------------ RECEIVER API APP ------------ module receiverApiApp 'webapp.bicep' = { name: 'receiver-api-app' params:{ appName: receiverApiAppName customHostname: customReceiverApiName location: location servicePlanName: servicePlanName appKind: 'app' appSettings: [ { name: 'ASPNETCORE_ENVIRONMENT' value: environment } { name: 'APPINSIGHTS_INSTRUMENTATIONKEY' value: rAppInsights.properties.InstrumentationKey } { name: 'WEBSITE_VNET_SUPPORT_DUAL_STACK_SOCKETS' value: '1' } ] } } params.dev.json File: { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "customReceiverApiName":{"value": "module-receiverapi-dev"}, "customUiName": { "value": "module-ui-dev" } } }