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
it would be nice in databricks cluster-policies [create|edit], in the given json file, if the value of the definition key is a dict, then databricks-cli converts it to a pure string directly with escape. because adding quotes escape is not easy, and especially when saving the code in git, a definition in pure string is very unreadable,
hereunder, an example of pure dict policy, but we need to pre-convert the definition part to string.
The API needs a pure string with espace on quotes for the value of the
definitionkey:https://docs.databricks.com/dev-tools/api/latest/policies.html#example
it would be nice in
databricks cluster-policies [create|edit], in the given json file, if the value of thedefinitionkey is a dict, thendatabricks-cliconverts it to a pure string directly with escape. because adding quotes escape is not easy, and especially when saving the code in git, a definition in pure string is very unreadable,hereunder, an example of pure dict policy, but we need to pre-convert the definition part to string.
{ "policy_id": "foo", "name": "bar", "definition": { "cluster_type": { "type": "fixed", "value": "job" } }