Learn-Bicep
Learn-Bicep copied to clipboard
This repo provides bite-sized samples, blog posts, demos, and helpful tips on Azure Bicep implementation techniques and templates. Please, reach back if you have any questions.
Learn Bicep
The "Learn Bicep" is a simple, yet powerful step-by-step learning guide with easy to start samples.
Azure Bicep blog posts
- Simplifying Azure IaC with Azure Bicep child resources
- Managing Azure Bicep sensitive info with Azure key Vault
- Hardening parameter inputs on Azure Bicep files
- Four parameterization options for your Azure Bicep deployments
- August month updates from Azure Bicep
- How to check and update Azure CLI version on your workstation?
- What is new in Azure Bicep v0.4?
- Troubleshooting an error on Bicep module – on Azure CLI (2.22.0) for Windows 10
- Setting up your first Azure Bicep private registry
- What is new in Azure Bicep v0.5.6 ?
Introduction
This project is created to test Bicep language features, compilation, validations, etc.
Learning by examples is a main focus and accomplished through writing simple and helpful Azure infrastructure code with Bicep language.
The followings are initial goals of the project:
- Automate deployment via GitHub Actions
- Author Infrastructure as a Code (IaC)
- Author Security as Code (SaC)
- Showcase new features of Azure Bicep as they come
- Learn Bicep
- Azure Bicep posts
- Run sample demos
- Workflows
- Project Layout
How to run sample demos
Get running your samples in the VS Code:
- Fork the branch (aka, starting from obvious ;)
- Install Azure CLI or PowerShell Core on you machine
- Enable the Bicep runtime on you machine: try 'az bicep version' or 'bicep version'
- Install VS Code Bicep extension
Workflows
- SL Scan: shiftleft-analysis:-> describes workflow purpose
- Deploy-Main-Site: main.deployment:-> describes workflow purpose
Project Layout
- modules: contain reusable components
- param-files: Learn about parameterization options in Azure Bicep files
- samples: contain 11 step deployments of Azure and security services
- scripts: contain single '.azcli' file that walk you through deployment scripts