1

Can anyone provide me a link to an example of using named properties in dbx. The documentation mentions an example of a .json file,

https://dbx.readthedocs.io/en/latest/named_properties.html

but it does not mention how we can invoke this file with sample variables. Do I need to write python code to have a file containing these variables?

I have two enviornments and I want to pass on different variables to the deployment.json file.

Alex Ott
  • 80,552
  • 8
  • 87
  • 132
Srinivas
  • 2,010
  • 7
  • 26
  • 51

2 Answers2

1

author of dbx here.

With latest 0.7.0 update we fully support passing both environment variables and variables from file.

Please check:

renardeinside
  • 377
  • 1
  • 9
0

The most recent way to passing var is by using the --jinja-variables-file since dbx 0.6.6. And do not use the env vars, it's not jinja standard.

Xiang ZHU
  • 365
  • 2
  • 13