white-architect-1595
01/04/2023, 3:04 PMvar standardLogicApp = new Pulumi.AzureNative.Web.WebApp($"Instanda-{sn}-logic-", new()
{
Kind = "functionapp,workflowapp",
ResourceGroupName = resourceGroup.Name,
Location = resourceGroup.Location,
ServerFarmId = appServicePlace.Id,
SiteConfig = new SiteConfigArgs
{
AppSettings = new[]{
new NameValuePairArgs
{
Name = "FUNCTIONS_EXTENSION_VERSION",
Value = "~4"
},
new NameValuePairArgs
{
Name = "FUNCTIONS_WORKER_RUNTIME",
Value = "node"
},
new NameValuePairArgs
{
Name = "WEBSITE_NODE_DEFAULT_VERSION",
Value = "~14"
},
new NameValuePairArgs
{
Name = "WEBSITE_CONTENTSHARE",
Value = Output.Format($"{workflowfolder}")
},
new NameValuePairArgs
{
Name = "AzureWebJobsStorage",
Value = Output.Format($"DefaultEndpointsProtocol=https;AccountName={storageAccount.Name};AccountKey={primaryStorageKey};EndpointSuffix=<http://core.windows.net|core.windows.net>"),
},
new NameValuePairArgs
{
Name = "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING",
Value = Output.Format($"DefaultEndpointsProtocol=https;AccountName={storageAccount.Name};AccountKey={primaryStorageKey};EndpointSuffix=<http://core.windows.net|core.windows.net>"),
},
new NameValuePairArgs
{
Name = "AzureFunctionsJobHost__extensionBundle__id",
Value = "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
},
new NameValuePairArgs
{
Name = "AzureFunctionsJobHost__extensionBundle__version",
Value = "[1.*, 2.0.0)",
},
new NameValuePairArgs
{
Name = "APP_KIND",
Value = "workflowapp",
},
},
},
});
echoing-dinner-19531
01/04/2023, 3:37 PM