แก้ไข

แชร์ผ่าน


Linter rule - max asserts

This rule checks that the number of predeployment conditions doesn't exceed 32.

Linter rule code

Use the following value in the Bicep configuration file to customize rule settings:

max-asserts

Warning

This rule is intended used in tandem with testFramework experimental feature flag for expected functionality. For more information, see Bicep Experimental Test Framework.

Solution

Reduce the number of predeployment conditions in your template.

Next steps

For more information about the linter, see Use Bicep linter.