<br />

<br />


[Managed Airflow (Gen 3)](https://docs.cloud.google.com/composer/docs/composer-3/dbt-composer-integration "View this page for Managed Airflow (Gen 3)") \| **Managed Airflow (Gen 2)** \| Managed Airflow (Legacy Gen 1)

<br />

<br />

<br />

<br />

<br />

<br />

This page describes how to use Terraform to create an integrated DBT and
Managed Airflow operations environment.

## About the terraform-google-dbt-composer-blueprint\` module

The
[`terraform-google-dbt-composer-blueprint` module](https://github.com/GoogleCloudPlatform/terraform-google-dbt-composer-blueprint/)
uses Terraform to do the following:

- Applies required APIs and permissions in the project.
- Creates documentation (for DBT) bucket.
- Creates a Managed Airflow environment, including networking configuration, and a service account.
- Copies across DAG utilities for Managed Airflow
- Exports audit logs for the project into a BigQuery project, including two materialized views and a view on top to support dashboards.

In addition, the module provides an end-to-end example of using the DAG
utilities and creating an example DBT job in Managed Airflow.

## Module's code on GitHub

For more information and code samples, see
[`terraform-google-dbt-composer-blueprint` module](https://github.com/GoogleCloudPlatform/terraform-google-dbt-composer-blueprint/)
page on GitHub.

## What's next

- [Test, synchronize, and deploy your DAGs from GitHub](https://docs.cloud.google.com/composer/docs/composer-2/dag-cicd-github)