Feature request: allow bundle init --config-file to read from Unity Catalog Volumes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
Start at the bundle init command's --config-file handling and compare its local-file path with the existing Databricks-authenticated filesystem access used for Volume files. Verify that exact dbfs:/Volumes/ paths use the selected profile, preserve local-file behavior, avoid a local copy, and report authentication, permission, path, and JSON validation failures clearly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Allow databricks bundle init to read its --config-file directly from an exact Unity Catalog Volume path.
For example:
databricks bundle init https://github.com/my-org/my-template \
--config-file dbfs:/Volumes/customer_shared/config/bootstrap/customer-context.json \
--output-dir ./my-solution
Motivation
Unity Catalog Volumes are a suitable governed location for non-secret operational configuration shared across customer workspaces.
Today, bundle init --config-file requires a local JSON file. A customer-owned bootstrap workflow must therefore:
- authenticate to the workspace;
- copy the exact file from the Volume to a temporary local file;
- invoke
bundle init; - remove the temporary file.
Direct Volume support would remove this wrapper and make governed, customer-owned bootstrap flows simpler while retaining Unity Catalog permissions and auditability.
Databricks already documents Unity Catalog Volumes as an appropriate location for configuration required across workspaces:
https://learn.microsoft.com/en-us/azure/databricks/files/files-recommendations
Proposed behavior
When --config-file receives an exact path beginning with dbfs:/Volumes/:
- read that single file using the existing Databricks authentication and selected profile;
- apply the same JSON parsing and template validation used for local files;
- do not scan the Volume or persist a local copy;
- fail clearly when authentication, permissions, the file path, or JSON validation fails.
Existing local-file behavior should remain unchanged.
Supporting /Volumes/... as a normalized alias would also be useful, although one canonical CLI form is sufficient.
Current workaround
databricks fs cp \
dbfs:/Volumes/customer_shared/config/bootstrap/customer-context.json \
/tmp/customer-context.json
databricks bundle init https://github.com/my-org/my-template \
--config-file /tmp/customer-context.json \
--output-dir ./my-solution
rm /tmp/customer-context.json
Alternative
If direct Unity Catalog file support is outside the intended scope of bundle init, supporting stdin would remove the temporary-file lifecycle:
databricks fs cat dbfs:/Volumes/.../customer-context.json \
| databricks bundle init <template> --config-file -
Environment
Databricks CLI v1.11.0
- Lingua principale
- Go
- Stelle
- 396
- Fork
- 233
- Merge medio
- 2g 52m
- PR unite (30g)
- 276
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di databricks/cli
-
DABs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
databricks/cli#6670 ·
-
DABs PyDABs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
databricks/cli#3926 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
databricks/cli#6785 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
databricks/cli#6770 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 20/100
databricks/cli#6765 ·
Tutte le issue di databricks/cli
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
googleapis/librarian#7670 · 2 commenti ·