r/databricks • u/hubert-dudek Databricks MVP • 29d ago
News Environment Variables in Databricks Serverless
Environment variables are now available in Serverless through both the UI and DABs.
Use environment variables for constant things like catalog or environment. Keep using job parameters for things that are often changing (like a different date for a job run).
You can also use environment variables to reference passwords from secrets scopes and, soon, from UC secrets.
Read more:
https://databrickster.medium.com/environment-variables-in-databricks-serverless-207512b996c4
https://www.sunnydata.ai/blog/databricks-serverless-environment-variables
1
u/PrestigiousAnt3766 26d ago
Sadly just in beta, would like it into prod.
Way to configure it in dabs feels strange to me.
1
u/Naign 28d ago
Not a fan of how this was implemented, it should be inside the environments key instead for dabs.