this repository contains 101 training content on Azure, Bicep and Azure DevOps
-
Set up your VSCode (techstack and stuff)
-
Files and folder structure <>
-
Prepare and install bicep tools(bicep.exe and assemblies)
-
Fielding a bicep template (Start with your ARM not your Bicep!?!?)
-
Do i still need an arm template ???(decompile and play)
-
Let's do a deployment. (using powershell new-azresourcegroupdeployment)
create your first azure pipeline
Azure Bicep code is written in a simpler syntax that is easier to read and write than the JSON syntax used with ARM Templates.
The code syntax created for Azure Bicep shares some elements that you may already be familiar with in both JSON and YAML code.
The main element of Azure Bicep code is the resource block that declares an infrastructure resource to deploy. Here’s a simple example of Azure Bicep code that deploys an Azure Storage Account:
resource mystorage 'Microsoft.Storage/storageAccounts@2019-06-01' = {
name: 'bicepstorage2063' // Globally unique storage account name
location: 'northcentralus' // Azure Region
kind: 'Storage'
sku: {
name: 'Standard_LRS'
}
}
Declaring Azure resources with Azure Bicep code is done using the following format:
resource <symbolic-name> '<type>@<api-version>` = {
// Properties
name: 'bicepstorage2063'
location: 'northcentralus'
sku: {
name: "Standard_LRS'
}
}