mirror of https://github.com/databricks/cli.git
Make default-sql work with service principal
This commit is contained in:
parent
8ad39c9ab3
commit
b3b68b9b74
|
@ -42,7 +42,7 @@ targets:
|
|||
catalog: main
|
||||
schema: default
|
||||
permissions:
|
||||
- user_name: $USERNAME
|
||||
- user_name_OR_service_principal_name: $USERNAME
|
||||
level: CAN_MANAGE
|
||||
run_as:
|
||||
user_name: $USERNAME
|
||||
|
|
|
@ -10,10 +10,6 @@ resources:
|
|||
interval: 1
|
||||
unit: DAYS
|
||||
|
||||
email_notifications:
|
||||
on_failure:
|
||||
- $USERNAME
|
||||
|
||||
parameters:
|
||||
- name: 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