How can I get VSCode Bicep linter to allow sys.map functions?
Dave Hirsch
0
Reputation points
I have a bicep deployment system, using Bicep in VS Code and the Azure CLI. My bicep module is up to date (I run az bicep upgrade
every time I see it is available).
I have a need to use the sys.map function, which executes just fine; that is a valid function. My problem is the Bicep is throwing the error code BCP108 "The function "map" does not exist in the namespace "sys".
" How can I get Bicep to stop throwing this error, or at least disable it? I don't see a way to use #disable-next-line
because I don't know what the rule name is.
Sign in to answer