Automate Azure infrastructure change reviews by using Bicep and GitHub
Add checks to pull requests that run automatically during your code reviews. Run the Bicep linter on your code, and deploy the resources to a temporary environment to enable further automated and manual testing.
Learning objectives
After completing this module, you'll be able to:
- Run automatic checks during a pull request.
- Determine how you want to create ephemeral environments in your Azure environment.
- Create ephemeral environments within pull requests.
Prerequisites
Required knowledge and skills:
- Bicep, including creating and deploying basic files
- Azure, including the Azure portal, subscriptions, resource groups, and resources
- Basic Git commands, including cloning, committing files, and pushing changes to GitHub
- Pull requests in GitHub, including creating, reviewing, and merging pull requests
- Basic GitHub Actions workflows, including triggers and secrets for connecting to your Azure environment
Account requirements:
- An Azure account with the ability to create resource groups and Microsoft Entra applications
- A GitHub account
Software requirements:
- Visual Studio Code
- The Bicep extension for Visual Studio Code
- The latest Azure CLI tools or the latest Azure PowerShell version
- Git