Runtime environment variables
Paradime Bolt supports the injection of environment variables into scheduled commands at runtime. This capability allows the specification of environment variables within the scheduled command itself.
Simply include the desired environment variable placeholder(s) $ENV_VAR
within the schedule command. When the command executes according to the schedule, the scheduled task will dynamically access the current values of the specified environment variables set at the workspace level.
Make sure that your environment will space limited in your commands. Below the ENV_VAR will be correctly injected at run time in the first example as it contains a space between the proceeding string and the environment variable, but not in the second example:
✅ dbt run --select $ENV_VAR
❌ dbt run --select$ENV_VAR
Last updated