This message was deleted.
# azure
s
This message was deleted.
c
The internet's other favourite code snippet
Copy code
"variables": {
      "functionAppId": "[resourceId('Microsoft.Web/sites', parameters('functionApp'))]"
    },
    "resources": [],
    "outputs": {
      "eventgridKey": {
        "type": "string",
        "value": "[listkeys(concat(variables('functionAppId'), '/host/default'), '2018-11-01').systemKeys.eventgrid_extension]"
      }
Fails with the same error.
My bad - that's also the error you'll get if your function can't start up due to a configuration error!
t
May I ask why you use template deployment here?
c
I need the key to build a URL to handle EventGrid notifications (deployed via .net Pulumi api)