Purpose: The purpose of this lab is to develop your first Bicep template. Steps:
-
Open Visual Studio Code Termianl and run
az login
to login to your Azure account. -
Create a new file called "rg.bicep" in the "bicep" folder.
-
Write a configuration that deploys:
-
Deploy into the resource group you created in Lab 1 by running the following command in the terminal:
az deployment group create --resource-group <resource-group-name> --template-file rg.bicep
-
Make sure you use parameters and variables in your Bicep file to make it reusable and easy to maintain.