BicepDemo
This repo is used to demo Bicep functionality during presentations.
Demo content
- Install the tooling
- Bicep VSCode Extension
- Bicep CLI
- Azure CLI
- Azure PowerShell
- Bicep PowerShell Module
- Declare a simple resource
- Add parameters
- Parameter decorators
- Add variables (String interpolation)
- Add outputs
- Bicep Type System
- Linter
- Add parameters
- Deploy a Bicep file
- Azure PowerShell
- Az CLI
- Parameter files
- Bicep Decompile
- Snippets and resource scaffolding (required properties)
- Add additional resource to template and show how to reference properties and automatic dependsOn.
- Modules
- targetScope
- Parent + Child
- Conditions - Ternary operator
- Conditional deployments
- Loops
- Array loop
- Loop on count
- Loops with filters
- Existing
- Bicep PowerShell Module
Examples
- SQLServer + Database
- VNet + Subnets + NSGs
- App Service Plan + App Service
- Public IP and Bastion service
Prep
- Existing KeyVault with secret.