Example Pulumi for .NET 5 functions and Github Actions
This example repo shows how to setup a .NET 5 function to deploy to Azure using Pulumi via a Github action.
This is the template repo used for my blog post here: https://martinjt.me/2021/05/03/deploying-net-5-azure-functions-with-pulumi-and-github-actions/
Pre-requistes
- Azure subscription (with the ability to create a service principal)
- Azure Blob Storage account, with a container setup.
- Github repositry
Environment Variables
PULUMI_PASSPHRASE
this is required by pulumi, can be any string
AZURE_PRINCIPAL
JSON representation of the an azure service principal that has contributor rights