Andrew Wilson's Blog

{ ... Plan - Architect - Develop - Reflect - Improve - Repeat ... }

Bicep Tips and Tricks | #6 | Typed Variables

Overview In late May this year, an exciting but semi overlooked feature was released, and I absolutely love it - Typed Variables! Prior to this release, variable types were inferred through the value, which is fine for most statically defined content within a template, but there are cases that I …


Bicep Tips and Tricks | #5 | From Documentation to Deployment-Time Validation: Conditional Parameter Requirements

Overview In Bicep templates, we sometimes encounter scenarios where certain parameters should be mandatory based on the value of another parameter. For example, when deploying to production environments, you might require additional configuration parameters that are optional for development …


Bicep Tips and Tricks | #4 | Shared Variables

Overview This week is a simple one, but works wonders in maintainability and consistency. There are often cases where you will need to define static values that don’t change frequently, if at all, and more importantly, you seem to be setting these up frequently for multiple templates. Here are …


Bicep Tips and Tricks | #3 | Naming Convention and Functions

Overview One of my bugbears is seeing either a complete lack of naming conventions or manual naming mechanisms that introduce human error through mistakes and misunderstandings. Naming conventions are incredibly important, but equally critical is how they’re implemented and maintained. …


Bicep Tips and Tricks | #2 | Centralize Core Parameters with Types, Constructors, and Imports

Overview When building IaC templates we strive to enable them to be environment agnostic, configurable even. One of the mechanisms that we do this is through lots of “Core Parameters” that disseminate the fundamental details of our deployment and resources. The number of core parameters …