-
Notifications
You must be signed in to change notification settings - Fork 137
Expand file tree
/
Copy pathdatabricks.yml
More file actions
42 lines (39 loc) · 1.34 KB
/
Copy pathdatabricks.yml
File metadata and controls
42 lines (39 loc) · 1.34 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
# This is a Databricks asset bundle definition for udtf_operator.
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle:
name: udtf_operator
uuid: 67b02248-6ca2-4230-8ce5-fc7f5e37c7a5
include:
- resources/*.yml
- resources/*/*.yml
# Variable declarations. These variables are assigned in the dev/prod targets below.
variables:
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:
catalog: main
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:
catalog: main
schema: prod
permissions:
- user_name: user@company.com
level: CAN_MANAGE