Skip to content

neilpeterson/action-create-blueprint

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions to create an Azure Blueprints.

For more information on Azure Blueprints, see the Azure Blueprints documentation.

Azure Authentication

Before using these actions, create an Azure Active Directory Service Principal using the az ad sp create-for-rbac command.

Next, create three GitHub secrets hold the service principal credentials.

Secret Name Value
AZURETENANTID tenant
AZURECLIENTID appId
AZUREPASSWORD password

Create Blueprint

- name: Create Azure Blueprint
  uses: neilpeterson/action-create-blueprint@master
  env:
    AZURETENANTID: ${{ secrets.AZURETENANTID }}
    AZURECLIENTID: ${{ secrets.AZURECLIENTID }}
    AZUREPASSWORD: ${{ secrets.AZUREPASSWORD }}
  with:
    azureManagementGroupName: nepeters-internal
    blueprintName: actionBlueprintPublish
    blueprintPath: ./create

All configuration parameters:

Name Description Required
scope Creation scope for the blueprint. Valid values are ManagamentGroup and Subscription. Defaults to ManagementGroup. false
azureManagementGroupName The Azure Management group at which the blueprint will be created. false
azureSubscriptionID The Azure subscription at which the blueprint will be created. false
blueprintName The blueprint name. true
blueprintPath The path to a directory that contains the blueprint.json file. true
publishBlueprint A value of true indicates the blueprint should be published. The default value is true. false
version A value of Increment will increment the version number if the version is an integer'. The default value is increment. false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published