Templates should follow a few established patterns to make them more reusable, maintainable, and extensible. In this section, we will look into patterns that should be used for creating enterprise-grade templates. We will also look into some examples that use specific patterns to solve specific problems.
Template patterns
Modular ARM templates
Instead of declaring all resources within a single ARM template, the entire solution has been decomposed into multiple smaller ARM templates, each responsible for a single resource, or a group of related resources.
The single resource templates created after decomposition are these:
- appserviceplan-1.0.0.0
- webappsimple-1.0.0.0
The appserviceplan-1.0.0.0 ARM template is responsible...