mirror of https://github.com/databricks/cli.git
Tweak templates
This commit is contained in:
parent
2addd0c506
commit
2ab497dc5c
|
@ -45,7 +45,7 @@
|
||||||
"default": "default",
|
"default": "default",
|
||||||
"pattern": "^\\w+$",
|
"pattern": "^\\w+$",
|
||||||
"pattern_match_failure_message": "Invalid schema name.",
|
"pattern_match_failure_message": "Invalid schema name.",
|
||||||
"description": "\nPlease provide an initial schema during development.\ndefault_schema",
|
"description": "\nPlease provide a default schema during development.\ndefault_schema",
|
||||||
"order": 5
|
"order": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
"default": "default",
|
"default": "default",
|
||||||
"pattern": "^\\w+$",
|
"pattern": "^\\w+$",
|
||||||
"pattern_match_failure_message": "Invalid schema name.",
|
"pattern_match_failure_message": "Invalid schema name.",
|
||||||
"description": "\nPlease provide an initial schema during development.\ndefault_schema",
|
"description": "\nPlease provide default schema during development.\ndefault_schema",
|
||||||
"order": 7
|
"order": 7
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -33,11 +33,9 @@ targets:
|
||||||
host: {{workspace_host}}
|
host: {{workspace_host}}
|
||||||
# We explicitly specify /Workspace/Users/{{user_name}} to make sure we only have a single copy.
|
# We explicitly specify /Workspace/Users/{{user_name}} to make sure we only have a single copy.
|
||||||
root_path: /Workspace/Users/{{user_name}}/.bundle/${bundle.name}/${bundle.target}
|
root_path: /Workspace/Users/{{user_name}}/.bundle/${bundle.name}/${bundle.target}
|
||||||
presets:
|
|
||||||
catalog: {{.default_catalog}}
|
|
||||||
schema: {{$prod_schema}}
|
|
||||||
permissions:
|
permissions:
|
||||||
- {{if is_service_principal}}service_principal{{else}}user{{end}}_name: {{user_name}}
|
- {{if is_service_principal}}service_principal{{else}}user{{end}}_name: {{user_name}}
|
||||||
level: CAN_MANAGE
|
level: CAN_MANAGE
|
||||||
run_as:
|
presets:
|
||||||
{{if is_service_principal}}service_principal{{else}}user{{end}}_name: {{user_name}}
|
catalog: {{.default_catalog}}
|
||||||
|
schema: {{$prod_schema}}
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"default": "default",
|
"default": "default",
|
||||||
"pattern": "^\\w+$",
|
"pattern": "^\\w+$",
|
||||||
"pattern_match_failure_message": "Invalid schema name.",
|
"pattern_match_failure_message": "Invalid schema name.",
|
||||||
"description": "\nPlease provide an initial schema during development.\ndefault_schema",
|
"description": "\nPlease provide a default schema during development.\ndefault_schema",
|
||||||
"order": 5
|
"order": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue