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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for