colossal-room-15708
04/04/2020, 3:55 AMpulumi up
is done because the osType
has changed post deployment.
const appservicePlan = new azure.appservice.Plan("asp", {
resourceGroupName: resourceGroup.name,
kind: "functionapp",
sku: { tier: "Dynamic", size: "Y1" },
reserved: true
});
const app = new azure.appservice.ArchiveFunctionApp("app", {
resourceGroupName: resourceGroup.name,
name: functionAppName,
plan: appservicePlan,
version: "~3",
httpsOnly: true,
identity: {
type: "SystemAssigned"
},
archive: new pulumi.asset.FileArchive("./app"),
appSettings: {
"FUNCTIONS_WORKER_RUNTIME": "python"
},
siteConfig: {
linuxFxVersion: "python|3.7",
minTlsVersion: "1.2"
}
});
kind
or other settings to, it always recreates the function apppulumi:pulumi:Stack: (same)
[urn=urn:pulumi:incidentdev::azure::pulumi:pulumi:Stack::azure]
+-azure:appservice/functionApp:FunctionApp: (replace)
[id=/subscriptions/<subId>/resourceGroups/xirus/providers/Microsoft.Web/sites/xirus]
[urn=urn:pulumi:incidentdev::azure-incidents::azure:appservice:ArchiveFunctionApp$azure:appservice/functionApp:FunctionApp::app]
[provider=urn:pulumi:incidentdev::azure::pulumi:providers:azure::default_2_1_0::04544b37-b741-4473-bfed-ec6ab72507f3]
- osType: "linux"
osType
is not exposed in azure.appservice.ArchiveFunctionApp
tall-librarian-49374
04/04/2020, 6:57 AMcolossal-room-15708
04/06/2020, 12:19 PMtall-librarian-49374
04/06/2020, 12:52 PMcolossal-room-15708
04/06/2020, 1:00 PMtall-librarian-49374
04/06/2020, 1:01 PMcolossal-room-15708
04/06/2020, 1:05 PM