Is there a way I could call an API which trigger a glue job from dbt?

562 views Asked by At

I have models in dbt but I after dbt test, I want to trigger an API call which could kick-off my AWS glue job. Any suggestions for workaround on this?

Approaches tried:

  1. Dbt —> fal script (which runs python code) —> py script could call glue job Blocker: later found that they are not running Python on dbt Cloud, they are running it in Github actions

  2. Dbt —> Rest/POST API with on-run-end (hooker) —> glue job Blocker: can’t find any instance where API calls are done from dbt (we could call dbt jobs from API but not the other way around)

  3. Dbt new table —> SNS —> lambda fn —> glue job

0

There are 0 answers