astonishing-afternoon-15745
04/01/2020, 8:30 PMenough-kite-69616
04/01/2020, 8:30 PMenough-kite-69616
04/01/2020, 8:30 PMastonishing-afternoon-15745
04/01/2020, 8:31 PMenough-kite-69616
04/01/2020, 8:31 PMancient-megabyte-79588
04/01/2020, 8:58 PMancient-megabyte-79588
04/01/2020, 9:02 PMOwner
role for the subscription, you will get permission to create Apps and Service Principals in AAD.ancient-megabyte-79588
04/01/2020, 9:03 PMOwner
with these permissions which are set in AAD.ancient-megabyte-79588
04/01/2020, 9:03 PMancient-megabyte-79588
04/01/2020, 9:06 PMenough-kite-69616
04/01/2020, 9:18 PMfuture-kite-91191
04/02/2020, 9:24 AMfuture-kite-91191
04/02/2020, 9:25 AMfuture-kite-91191
04/02/2020, 9:26 AMfuture-kite-91191
04/02/2020, 9:37 AMfuture-kite-91191
04/02/2020, 9:38 AMbetter-rainbow-14549
04/02/2020, 10:40 AMfuture-kite-91191
04/02/2020, 2:19 PMtall-librarian-49374
04/02/2020, 2:21 PMfuture-kite-91191
04/02/2020, 2:25 PMfuture-kite-91191
04/02/2020, 2:26 PMtall-librarian-49374
04/02/2020, 2:41 PMfuture-kite-91191
04/02/2020, 2:53 PMfuture-kite-91191
04/02/2020, 2:54 PMfuture-kite-91191
04/02/2020, 3:01 PMancient-megabyte-79588
04/02/2020, 3:13 PMaz
cli?handsome-optician-50551
04/03/2020, 8:24 AMplain-eye-9759
04/03/2020, 8:37 AM{
name: "[concat(variables('topicName'), '/Microsoft.EventGrid/', variables('eventGridSubscriptionName'))]",
type: "Microsoft.EventGrid/topics/providers/eventSubscriptions",
location: "[variables('location')]",
apiVersion: "2018-01-01",
properties: {
functionUrl: "[concat('https://', variables('functionAppName'),'.<http://azurewebsites.net/runtime/webhooks/eventgrid?functionName=|azurewebsites.net/runtime/webhooks/eventgrid?functionName=>', variables('functionName'),'&code=')]",
destination: {
endpointType: "WebHook",
properties: {
endpointUrl: "[concat(variables('functionUrl'), listKeys(resourceId('Microsoft.Web/sites/host/', variables('functionAppName'), 'default'),'2016-08-01').systemkeys.eventgrid_extension)]"
}
},
filter: {
includedEventTypes: [
"All"
]
}
},
}
I'm getting this error Encountered an error (ServiceUnavailable) from host runtime.
Looks like an Azure issue actually, but I don't know what the issue is.
Also is there a way to do it directly with Pulumi? @tall-librarian-49374colossal-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"
}
});
plain-tiger-79744
04/06/2020, 12:20 PM