can you do it this way? var standardLogicApp = ne...
# azure
w
can you do it this way? var standardLogicApp = new WebApp($"Instanda-{sn}-logic-", new() { Kind = "functionapp,workflowapp", ResourceGroupName = resourceGroup.Name, Location = resourceGroup.Location, ServerFarmId = appServicePlace.Id, Identity = new ManagedServiceIdentityArgs { }, 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($"workflows") }, new NameValuePairArgs { Name = "AzureWebJobsStorage", Value = Output.Format($"DefaultEndpointsProtocol=https;AccountName={storageAccount.Name};AccountKey={primaryStorageKey};EndpointSuffix=core.windows.net"), }, new NameValuePairArgs { Name = "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING", Value = Output.Format($"DefaultEndpointsProtocol=https;AccountName={storageAccount.Name};AccountKey={primaryStorageKey};EndpointSuffix=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", }, }, }, });
in your case is CURRENT_STACK an application setting?
I assume you are restricted to using webAppMetaData?
s
I think for Azure Web apps this is the only way to do this in Pulumi (In C# anyway)🤷