StefanIvemo / BicepDemo

This repo is used to demo Bicep functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BicepDemo

This repo is used to demo Bicep functionality during presentations.

Demo content

  1. Install the tooling
    1. Bicep VSCode Extension
    2. Bicep CLI
    3. Azure CLI
    4. Azure PowerShell
    5. Bicep PowerShell Module
  2. Declare a simple resource
    1. Add parameters
      1. Parameter decorators
    2. Add variables (String interpolation)
    3. Add outputs
    4. Bicep Type System
    5. Linter
  3. Deploy a Bicep file
    1. Azure PowerShell
    2. Az CLI
    3. Parameter files
  4. Bicep Decompile
  5. Snippets and resource scaffolding (required properties)
  6. Add additional resource to template and show how to reference properties and automatic dependsOn.
  7. Modules
    1. targetScope
  8. Parent + Child
  9. Conditions - Ternary operator
  10. Conditional deployments
  11. Loops
    1. Array loop
    2. Loop on count
    3. Loops with filters
  12. Existing
  13. Bicep PowerShell Module

Examples

  1. SQLServer + Database
  2. VNet + Subnets + NSGs
  3. App Service Plan + App Service
  4. Public IP and Bastion service

Prep

  1. Existing KeyVault with secret.

About

This repo is used to demo Bicep functionality