Azure / Azure/Azure-Functions

arm template deployed function app has no host keys and throws errors

Open
#1,080 16 comments 2 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

I've been using a resource group, where i have a freshly minted function app | automation script | download to acquire the bash/powershell script story for recreating the environment in another resource group or azure subscription.

What i'm experiencing with these azure resource manager [arm] template driven deployments of function app end up without function app settings | host keys (all functions) | _master & default in place.

When I then attempt to publish a visual studio 2017 functions v2 project into this arm template created function it prompts me about upgrading it to v2 of the runtime which I accept. Afterwards I still don't have function app settings | host keys (all functions) | _master & default host keys in place and start seeing dialogs like those I screen grabbed [here](https://mysawestus.blob.core.windows.net/public/armTmplCreatedFuncAppHostKeysIssue.png) .

Perhaps there is some way to define arm template.json settings for azure function app so that it starts out life already configured for v2 runtime and with randomly generated host keys (all functions) | _master & default in place like you get when you use the portal UI.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.