wet-noon-14291
11/27/2023, 11:18 AMconst app = new azure.web.WebApp(
name,
{
resourceGroupName: resourceGroupName,
serverFarmId: servicePlanName,
siteConfig: {
netFrameworkVersion: "v8.0",
appSettings: [
{
name: "CONNECTION_STRING",
value: connectionString,
},
],
},
},
azureOptions
);
const meta = new WebAppMetadata(
name + "-metadata",
{
resourceGroupName: resourceGroupName,
name: app.name,
properties: {
CURRENT_STACK: "dotnetcore",
},
},
azureOptions
);
My goal is to later deploy with the az cli like
az webapp deployment source config-zip --name web-appe20fa5b0 --resource-group rg-name --src publish.zip
Any ideas or pointers? I thought that would be an easy thing to do :Dwet-noon-14291
11/27/2023, 11:38 AMCURRENT_STACK
that should set the current runtime stack, but it is always blank for me.wet-noon-14291
11/27/2023, 9:03 PMsiteConfig
like the following it works:
siteConfig: {
netFrameworkVersion: "v8.0",
linuxFxVersion: "DOTNETCORE|8.0",
appSettings: [
{
name: "CONNECTION_STRING",
value: connectionString,
},
],
},