Join Slack
Powered by
when using dbt cloud is there a way to use differe...
# integration-dbt
s
Son Do
07/27/2023, 3:57 PM
when using dbt cloud is there a way to use different dbt environments depending on the job?
r
rex
07/27/2023, 8:31 PM
This sounds like more of a question for the dbt slack. But looking at the dbt Cloud API, I believe you could do this by: • Updating the dbt Cloud job’s environment id with the correct environment you want:
https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Update%20Job
• Then triggering the newly updated job:
https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Trigger%20Job%20Run
Open in Slack
Previous
Next