mirror of https://github.com/databricks/cli.git
Make default-sql work with service principal
This commit is contained in:
parent
a4aa5b89a2
commit
485ebb7970
|
@ -42,7 +42,7 @@ targets:
|
||||||
catalog: main
|
catalog: main
|
||||||
schema: default
|
schema: default
|
||||||
permissions:
|
permissions:
|
||||||
- user_name: $USERNAME
|
- user_name_OR_service_principal_name: $USERNAME
|
||||||
level: CAN_MANAGE
|
level: CAN_MANAGE
|
||||||
run_as:
|
run_as:
|
||||||
user_name: $USERNAME
|
user_name: $USERNAME
|
||||||
|
|
|
@ -10,10 +10,6 @@ resources:
|
||||||
interval: 1
|
interval: 1
|
||||||
unit: DAYS
|
unit: DAYS
|
||||||
|
|
||||||
email_notifications:
|
|
||||||
on_failure:
|
|
||||||
- $USERNAME
|
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
- name: catalog
|
- name: catalog
|
||||||
default: ${var.catalog}
|
default: ${var.catalog}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[[Repls]]
|
||||||
|
Old = '- (user_name|service_principal_name): \$USERNAME'
|
||||||
|
New = '- user_name_OR_service_principal_name: $$USERNAME'
|
||||||
|
|
||||||
|
[[Repls]]
|
||||||
|
Old = '''
|
||||||
|
email_notifications:
|
||||||
|
on_failure:
|
||||||
|
- \$USERNAME
|
||||||
|
|
||||||
|
'''
|
||||||
|
New = ''
|
Loading…
Reference in New Issue