databricks-cli/libs/template
Lennart Kats (databricks) 072fa812e2
Include a permissions section in all templates (#1713)
## Changes

This updates the templates to include a `permissions` section. Having a
permissions section is a best practice, is helpful to understand the
notion of permissions, and helps diagnose permission errors
(https://github.com/databricks/cli/pull/1386).

This is a cherry-pick from https://github.com/databricks/cli/pull/1387.

This change was verified to work both in dev and prod. Existing unit
tests validate the validity of the templates in these modes.
2024-09-03 07:51:54 +00:00
..
templates Include a permissions section in all templates (#1713) 2024-09-03 07:51:54 +00:00
testdata Fix ability to import the CLI repository as module (#1671) 2024-08-12 14:20:04 +00:00
config.go Allow unknown properties in the config file for template initialization (#1315) 2024-03-26 13:02:09 +00:00
config_test.go Fix ability to import the CLI repository as module (#1671) 2024-08-12 14:20:04 +00:00
file.go Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
file_test.go Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
helpers.go Add UUID function to bundle template functions (#1612) 2024-07-19 11:38:20 +00:00
helpers_test.go Add UUID function to bundle template functions (#1612) 2024-07-19 11:38:20 +00:00
materialize.go Make dbt-sql and default-sql templates public (#1463) 2024-06-04 08:57:13 +00:00
materialize_test.go Improve error message when path is not a bundle template (#985) 2023-11-22 12:25:16 +00:00
renderer.go Update error checks that use the `os` package to use `errors.Is` (#1461) 2024-06-03 12:39:36 +00:00
renderer_test.go Fix ability to import the CLI repository as module (#1671) 2024-08-12 14:20:04 +00:00