This repository contains all Bicep, ARM templates, and scripts used in the book Azure Infrastructure as Code written by Henry Been, Erwin Staal and Eduard Keilholz
- Main branch which is, when needed, updated to ensure examples keep compiling even with Microsoft updates. Find it at: Main
- Release branch which contains the code as-published in the book. Find it at: Release Branch 'as-in-book'
- Install Visual Studio Code
- Add Visual Studio Code extensions:
- Install the ARM template extension
- Install the Bicep extension
- Install Azure CLI
- Install Bicep
- Update the tools version if you had it installed already:
az bicep upgrade
- Update the tools version if you had it installed already:
To deploy any of the templates, you will need an Azure Subscription. Get your free Azure subscription here. You will need a credit card, but it won't be charged, provided you clean up all resources after deploying a template. Use the following commands to login and set the correct Azure Subscription:
az login
az account set -s <subscriptionId>