Skip to content

Template expressions should not exceed a maximum length#

Operational Excellence · All resources · Rule · 2021_12 · Awareness

Template expressions should not exceed the maximum length.

Description#

Extremely long expressions may be difficult to read and debug. Avoid using expressions that exceed 24,576 characters in length.

Recommendation#

Consider updating the expression to reduce complexity and length.

Notes#

This rule is not applicable and ignored for templates generated with Bicep, PSArm, and AzOps. Generated templates from these tools may not require any parameters to be set.

Comments