Airflow to Dataform call

Hi Team,

I have an scenario, to call the data form workspace from airflow.

I’m getting struct with assign the right workspace.

Repo: GT_Tech_Repo

Workspace: GT_Land_Load

Could you please help?

Hi @VJ5 ,

Welcome to Google Cloud Community!

Here are the possible key areas to consider when calling the Dataform workspace from Airflow:

  • Ensure that your service account in Airflow has enough permission (roles/composer.worker and roles/dataform.editor).
  • Verify if Dataform and Cloud Composer API are enabled in your GCP project.
  • Double-check your parameter values if there are any typos.

For more detailed information, you can use Cloud Logging to monitor logs in Dataform and identify potential errors. Make sure you have necessary permissions to view execution logs.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.