-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn about template limits #1453
Comments
The basic size limits and parameter/output count errors/warnings should be fairly easy to implement. Providing accurate size limit warnings will be difficult once loop support goes in. (The loop counts/array sizes can be influenced by parameters whose values we don't have.) |
good first issue for the basic limits like # of params, outputs, vars, resources |
Related work item about template limit: #5100 |
@majastrz - is the 4MB limit of the ARM json? Do the non-significant whitespace characters matter? If a certain ARM template is above the limit can bicep produce an obfuscated/squashed ARM json with pretty-printing turned off? |
Hi, we have a client which has a very big setup and we've hit the 4MB limit. Throw Bicep out and go back to ARM linked templates and start crying? 😄 Thanks |
Bicep version
Bicep CLI version 0.2.328 (a13b032)
Describe the bug
Documentation states about template limits. Bicep should warn/error on exceeding the limits. Ideally Bicep could emulate (heuristically?) the 4MB limit, if possible.
To Reproduce
Below is an example only for > 256 params, easily expandable to other syntax items. Bicep should warn or error out on exceeding the limit.
The text was updated successfully, but these errors were encountered: