Azure / Azure/bicep

Azure Function app missing host keys if WEBSITE_RUN_FROM_PACKAGE=1

Open
#2,734 0 comments 0 reactions 1 assignee Claimed by @alex-frankel View on GitHub
investigate provider bug
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Bicep version**
Bicep CLI version 0.3.255 (589f0375df)

**Describe the bug**
Host keys are not present on the function app if the appSetting: WEBSITE_RUN_FROM_PACKAGE=1 is set.

**To Reproduce**
- Modify the Function App example main.bicep, add the following in the appSetting section:

{
name: 'WEBSITE_RUN_FROM_PACKAGE'
value: '1'
}
- deploy and observe App keys > Host Keys are blank
- if you then modify any appSetting via the portal, Configuration > Application settings, then save, the _master and default keys will appear

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.