malliina / infra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

infra

Infrastructure for my apps. Deployed on push to master via GitHub Actions.

Deploying locally

Prefer CI-based deploys. However, to deploy from your local computer, create a resource group and then:

az deployment group create --resource-group rg-name-here --template-file common.bicep

Subscription-level secret

To generate subscription-scoped credentials for Azure, run:

az ad sp create-for-rbac --name "bicep" --sdk-auth --role contributor --scopes /subscriptions/sub-id-here

Set the output of the command to GitHub secret variable AZURE_CREDENTIALS.

For more information, see https://docs.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#use-the-azure-login-action-with-a-service-principal-secret.

About

License:Other


Languages

Language:Bicep 77.5%Language:Scala 21.3%Language:Shell 0.6%Language:PowerShell 0.5%