Tweak templates

This commit is contained in:
Lennart Kats 2024-12-08 20:44:33 +01:00
parent 2addd0c506
commit 2ab497dc5c
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
4 changed files with 6 additions and 8 deletions

View File

@ -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
} }
}, },

View File

@ -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
} }
}, },

View File

@ -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}}

View File

@ -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
} }
}, },