Use Terraform with Dataform Stay organized with collections Save and categorize content based on your preferences.
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 resource | Terraform registry sample |
|---|---|
| Repository | google_dataform_repository |
| Release configuration | google_dataform_repository_release_config |
| Workflow configuration | google_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:
google_dataform_repository_iam_policygoogle_dataform_repository_iam_bindinggoogle_dataform_repository_iam_member
For best practices for managing IAM in Terraform, seeManage Identity and Access Management.
What's next
Learn more about Terraform:
- What is Terraform?
- Terraform registry
- Terraform Developer website
- Terraform Language Documentation
- Terraform CLI Documentation
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.