Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 10, 2024

Conversation

davza
Copy link
Contributor

@davza davza commented May 1, 2024

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_resource_identifier])

Move the PublicNetworkAccess property from SiteConfig.PublicNetworkAccess to Site.PublicNetworkAccess as Azure does not allow this setting to be changed via the SiteConfig object
@CLAassistant
Copy link

CLAassistant commented May 1, 2024

CLA assistant check
All committers have signed the CLA.

@davza davza changed the title Move PublicNetworkAccess from the SiteConfig to the Site object Fix bug in Azure Function App ARM when using Blob Storage May 1, 2024
@Sivakumar3695 Sivakumar3695 merged commit 3eaa924 into newrelic:master May 10, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants