newrelic / newrelic-azure-functions

Functions to collect and forward logs from Microsoft Azure to New Relic Logs
Apache License 2.0
7 stars 14 forks source link

Fix bug in Azure Function App ARM when using Blob Storage #91

Closed davza closed 6 months ago

davza commented 6 months ago

Description

This PR fixes a bug that causes the provisioning of the Azure Function App that is used to forward the logs from a Storage Account to New Relic to fail.

Change details

Moved the PublicNetworkAccess property from SiteConfig.PublicNetworkAccess to Site.PublicNetworkAccess.

Error details

To reproduce the error, follow the instructions for Deploying the New Relic Blob Storage ARM template.
The ARM template fails to deploy the Function App with the error:

There was a conflict. SiteConfig.PublicNetworkAccess cannot be set by itself. Please use the Site.PublicNetworkAccess property.
_(Target: [azure_resourceidentifier])

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.