This repo is a template for deploying Azure Machine Learning workspaces in an automated fashion using GitHub Actions. Please see general information regarding Bicep and ARM templates here.
Users will see the following two user-defined variables in main.bicep
:
-
teamID
to allow a quick-turn capability for deploying multiple AML workspaces in the same Azure Resource Group, and -
needVNet
for defining whether the AML resources should be set within a VNet.
This template is intended to be used with GitHub Actions. General instructions for setting up the necessary Action secrets can be found here.
One should be sure to place the deploy.yml
file into a .github/workflows
directory to queue up the GitHub Actions.
In order to ensure resources are approved before deployment, this repo is set to only run the Action on a push to the main
branch. For security purposes, it is suggested that groups allow updates to the main
branch only through pull requests and have all resource deployments completed through such a pull request.