Skip to content

Remove unused template variables#

Operational Excellence · All resources · Azure.Template.UseVariables

Each Azure Resource Manager (ARM) template variable should be used or removed from template files.

Description#

ARM templates can optionally define variables that can be reused throughout the template. Variables that are not used may add template complexity for no benefit.

Recommendation#

Consider removing unused variables from Azure template files.


Last update: 2021-09-24