-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathdatabricks.yml
More file actions
46 lines (42 loc) · 1.45 KB
/
databricks.yml
File metadata and controls
46 lines (42 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This is a Databricks asset bundle definition for default_sql.
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle:
name: default_sql
uuid: 853cd9bc-631c-4d4f-bca0-3195c7540854
include:
- resources/*.yml
# Variable declarations. These variables are assigned in the dev/prod targets below.
variables:
warehouse_id:
description: The warehouse to use
catalog:
description: The catalog to use
schema:
description: The schema to use
targets:
dev:
# The default target uses 'mode: development' to create a development copy.
# - Deployed resources get prefixed with '[dev my_user_name]'
# - Any job schedules and triggers are paused by default.
# See also https://docs.databricks.com/dev-tools/bundles/deployment-modes.html.
mode: development
default: true
workspace:
host: https://company.databricks.com
variables:
warehouse_id: abcdef1234567890
catalog: catalog
schema: ${workspace.current_user.short_name}
prod:
mode: production
workspace:
host: https://company.databricks.com
# We explicitly deploy to /Workspace/Users/user@company.com to make sure we only have a single copy.
root_path: /Workspace/Users/user@company.com/.bundle/${bundle.name}/${bundle.target}
variables:
warehouse_id: abcdef1234567890
catalog: catalog
schema: default
permissions:
- user_name: user@company.com
level: CAN_MANAGE