As recommended by Databricks, we are trying to use Compute Policies to set environment variables, which are used by our notebooks, across clusters.
However, when specifying a JSON string as env var, we are getting this error upon applying the policy to a shared cluster:
Cannot update compute configuration:
$$, \, ", ', | and backticks are not allowed in the environment variable value for Unity Catalog shared clusters. Please use single user clusters instead.
Where is this error coming from? It's not documented anywhere, and seems arbitrary.
What are possible ways around this?