Highlight
With ARM templates you can perform conditional deployment of your Azure infrastructure with ease. All it takes is a simple evaluation.
Intro
In this episode I give you introduction conditional deployment with condition property and show you practical examples of applying this practice for templates.
Source code for demos: https://github.com/MarczakIO/azure4everyone-samples/tree/master/azure-resourcemanager-templates-conditions
Agenda
In this episode I will show you a live demo of
- Deploying Storage Accounts conditionally
- Fixing common issues with conditional deployments
- Deployment dependent resources and using references
- Cleaning templates
- Building on-off switches
Video
Next steps for you after watching the video
- Conditional deployment doc references
- https://docs.microsoft.com/en-us/azure/architecture/building-blocks/extending-templates/conditional-deploy?WT.mc_id=AZ-MVP-5003556
- https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/conditional-resource-deployment?WT.mc_id=AZ-MVP-5003556
- https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-use-conditions?WT.mc_id=AZ-MVP-5003556