Stay organized with collections
Save and categorize content based on your preferences.
Terraform
is an infrastructure-as-code (IaC) tool that you can use to provision resources
and permissions for Cloud Workstations.
To use Terraform with Cloud Workstations, you need to
create a configuration file
to describe your infrastructure, and then
apply the configuration file
to create an execution plan and perform operations to provision your
infrastructure.
For example, you can use Terraform to create workstations,
create various workstation configurations (templates), and
create workstation configurations for public or private workstation clusters.
Terraform resources for Cloud Workstations
The following table lists Cloud Workstations configuration samples that
appear in the Terraform registry
and from GitHub.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Terraform support for Cloud Workstations\n\n| **Preview\n| --- Terraform support for Cloud Workstations**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| You can process personal data for this feature as outlined in the\n| [Cloud Data Processing\n| Addendum](/terms/data-processing-addendum), subject to the obligations and restrictions described in the agreement under\n| which you access Google Cloud.\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\n[Terraform](https://www.terraform.io/)\nis an infrastructure-as-code (IaC) tool that you can use to provision resources\nand permissions for Cloud Workstations.\nTo use Terraform with Cloud Workstations, 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\nFor example, you can use Terraform to create workstations,\ncreate various workstation configurations (templates), and\ncreate workstation configurations for public or private workstation clusters.\n\nTerraform resources for Cloud Workstations\n------------------------------------------\n\nThe following table lists Cloud Workstations configuration samples that\nappear in the [Terraform registry](https://developer.hashicorp.com/terraform/language/resources)\nand from [GitHub](https://github.com/terraform-google-modules/docs-examples).\n\nWhat's next\n-----------\n\nLearn more about Terraform:\n\n- [What is Terraform?](https://developer.hashicorp.com/terraform/intro)\n\n- [Terraform registry](https://registry.terraform.io/providers/hashicorp/google/latest/docs/)\n\n- [Terraform Developer website](https://developer.hashicorp.com/terraform/)\n\n- [Terraform Language Documentation](https://developer.hashicorp.com/terraform/language)\n\n- [Terraform CLI Documentation](https://developer.hashicorp.com/terraform/cli)"]]