Use Terraform with Dataform

This document describes Terraform support for Dataform.

Terraformis an infrastructure-as-code (IaC) tool that you can use to provision resourcesand permissions for the following Dataform resources:

For example, you can use Terraform to create and configure Dataform repositories,release configurations, and workflow configurations.

To use Terraform with Dataform, you need tocreate a configuration fileto describe your infrastructure, and thenapply the configuration fileto create an execution plan and perform operations to provision yourinfrastructure.

The following table lists Dataform configuration samples thatappear in theTerraform registryand inGitHub.

Dataform resourceTerraform registry sample
Repositorygoogle_dataform_repository
Release configurationgoogle_dataform_repository_release_config
Workflow configurationgoogle_dataform_repository_workflow_config

Manage IAM access in Terraform

You can use Terraform to set and manage thedataform_repository_iam policy for therepository resource.

The following resources help you manage thedataform_repository_iam policy:

For best practices for managing IAM in Terraform, seeManage Identity and Access Management.

What's next

Learn more about Terraform:

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.