Linter rule - max variables
This rule checks that the number of variables does not exceed the ARM template limits.
Linter rule code
Use the following value in the Bicep configuration file to customize rule settings:
Reduce the number of variables in your template.
For more information about the linter, see Use Bicep linter.