You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
Cannot import a json more than ~14k characters, which is a problem if you want to define, say, a library of builtin policies and their associated IDs which is one of my current use cases for this.
Reproduce
Make a json with more than 14k characters
Try to import the JSON, error will show that the size is limited.
Potential Solutions
[Ideal] Offer a "tree-shaking" option via a decorator or something to the var so that, when the ARM template is built, the expression only contains the json entries that are referenced rather than the entire json file, and update the LSP to allow for longer strings for the jsontext import.
Increase the limit if possible
Transparently split it into multiple expressions?
The text was updated successfully, but these errors were encountered:
@anthony-c-martin
Bicep version
Artifact from #3510
Issue
Cannot import a json more than ~14k characters, which is a problem if you want to define, say, a library of builtin policies and their associated IDs which is one of my current use cases for this.
Reproduce
Make a json with more than 14k characters
Try to import the JSON, error will show that the size is limited.
Potential Solutions
The text was updated successfully, but these errors were encountered: