colossal-room-15708
03/21/2020, 8:39 AMconst appservicePlan = new azure.appservice.Plan("asp", {
resourceGroupName: resourceGroup.name,
kind: "linux",
sku: { tier: "Dynamic", size: "Y1" },
reserved: true
});
const app = new azure.appservice.ArchiveFunctionApp("App", {
resourceGroupName: resourceGroup.name,
name: functionAppName,
plan: appservicePlan,
version: "~3",
archive: new pulumi.asset.FileArchive("./app"),
appSettings: {
"runtime": "python"
}
});
I deploy this and all is fine, next time around though, Pulumi wants to replace the App Service Plan because on the API the kind
is now functionapp
?
All the examples set kind
to linux
.