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

Public Samples Using Split Resource Deployment #32

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Thomas-Butterfield
Copy link
Contributor

@Thomas-Butterfield Thomas-Butterfield commented Feb 26, 2023

Walid,

As discussed here are sample files for deploying the function app and required resources independent of each other.

I've also included the bicep modules which assign the function app RBAC at the subscription scope instead of resource group and the key vault access policy.

The function app in this example is using a basic app service plan to allow for private vnet integration when retrieving secrets from a key-vault where public access is disabled.

These examples will allow for a split deployment of the app service plan, storage account, log analytics workspace and function app. 

- Function App bicep file deploys App with private vnet integration for accessing Key-Vaults where public access is disabled.
- Function App managed identity is granted "contributor" role on the subscription.
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.

1 participant