You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>**Note:** The Snowflake credentials (`SNOWFLAKE_ACCOUNT`, `SNOWFLAKE_USER`, `SNOWFLAKE_PASSWORD`) are required for the ingestion job to connect to Snowflake. The Databricks credentials are used by the Job Executor App for API authentication.
226
+
225
227
#### Cluster Environment Variables
226
228
227
229
Set in**Cluster → Advanced Options → Spark → Environment Variables**:
|`DATABRICKS_CLIENT_ID`|Service principal OAuth M2M client ID |
259
+
|`DATABRICKS_CLIENT_SECRET`|Service principal OAuth M2M client secret |
260
+
|`DATABRICKS_CLUSTER_ID`|Existing all-purpose cluster ID forrunning job tasks|
261
+
|`UC_CATALOG`| Unity Catalog name for schema and volume creation |
262
+
|`DEVS_GROUP`|Databricks group name for job and catalog permissions |
246
263
247
264
>**Note:** The `DEVS_GROUP` (e.g., `migration-accelerator-devs`) must exist in Databricks before deployment. Create it in**Admin Console → Groups → Create Group**.
248
265
266
+
>**Secrets vs GitHub Secrets:** Databricks Secrets (in the scope) are read at **runtime** by the jobs. GitHub Secrets are used at **deploy time** by the CI/CD pipeline to authenticate and configure the bundle.
267
+
249
268
#### After deployment
250
269
251
270
Once deployed, get the service principal name from the Databricks App in Compute->Apps->dbx-job-executor-app->Authorization->App Authorization and th job id from Jobs & Pipelines->snowflake_ingestion_job->Job Details->Job ID. Then add this Service Principal to the developers permission group specified in the variable DEVS_GROUP in the Github Secrets.
0 commit comments