[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eTerraform is an infrastructure-as-code tool that supports the provisioning of Dataform resources and permissions.\u003c/p\u003e\n"],["\u003cp\u003eYou can use Terraform to manage Dataform resources such as repositories, release configurations, and workflow configurations.\u003c/p\u003e\n"],["\u003cp\u003eTerraform configuration files are used to describe infrastructure, which are then applied to create an execution plan.\u003c/p\u003e\n"],["\u003cp\u003eTerraform can also be used to manage IAM policies, specifically the \u003ccode\u003edataform_repository_iam\u003c/code\u003e policy, for Dataform repositories.\u003c/p\u003e\n"]]],[],null,["# Use Terraform with Dataform\n\nThis document describes Terraform support for Dataform.\n\n\u003cbr /\u003e\n\n[Terraform](https://www.terraform.io/)\nis an infrastructure-as-code (IaC) tool that you can use to provision resources\nand permissions for the following Dataform resources:\n\n- [Repository](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository)\n- [Release configuration](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository_release_config)\n- [Workflow configuration](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository_workflow_config)\n\nFor example, you can use Terraform to create and configure Dataform repositories,\nrelease configurations, and workflow configurations.\n\nTo use Terraform with Dataform, you need to\n[create a configuration file](https://developer.hashicorp.com/terraform/language)\nto describe your infrastructure, and then\n[apply the configuration file](https://developer.hashicorp.com/terraform/cli/commands/apply)\nto create an execution plan and perform operations to provision your\ninfrastructure.\n\nThe following table lists Dataform configuration samples that\nappear in the\n[Terraform registry](https://developer.hashicorp.com/terraform/language/resources)\nand in\n[GitHub](https://github.com/terraform-google-modules/docs-examples).\n\nManage IAM access in Terraform\n------------------------------\n\nYou can use Terraform to set and manage the\n[`dataform_repository_iam` policy](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository_iam) for the [repository](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository) resource.\n\nThe following resources help you manage the `dataform_repository_iam` policy:\n\n- [`google_dataform_repository_iam_policy`](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository_iam#google_dataform_repository_iam_policy)\n- [`google_dataform_repository_iam_binding`](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository_iam#google_dataform_repository_iam_binding)\n- [`google_dataform_repository_iam_member`](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dataform_repository_iam#google_dataform_repository_iam_member)\n\nFor best practices for managing IAM in Terraform, see\n[Manage Identity and Access Management](https://cloud.google.com/docs/terraform/best-practices-for-terraform#iam).\n\nWhat's next\n-----------\n\nLearn more about Terraform:\n\n- [What is Terraform?](https://developer.hashicorp.com/terraform/intro)\n- [Terraform registry](https://registry.terraform.io/providers/hashicorp/google/latest/docs/)\n- [Terraform Developer website](https://developer.hashicorp.com/terraform/)\n- [Terraform Language Documentation](https://developer.hashicorp.com/terraform/language)\n- [Terraform CLI Documentation](https://developer.hashicorp.com/terraform/cli)"]]