Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Aprenda a usar o Terraform para provisionar uma infraestrutura confiável no Google Cloud.
Saiba mais
Comece a criar e implantar no Google Cloud com uma
avaliação gratuita.
Comece a usar gratuitamente
Comece seu próximo projeto com US$ 300 em créditos gratuitos
Crie e teste uma prova de conceito com os créditos de teste gratuitos e o uso mensal gratuito de mais de
20 produtos.
Confira ofertas de produtos gratuitos
Continue explorando com mais de 20 produtos sempre gratuitos
Acesse mais de 20 produtos gratuitos para casos de uso comuns, incluindo APIs de IA, VMs, data warehouses e
muito mais.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-12-22 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-12-22 UTC."],[[["\u003cp\u003eThis page provides comprehensive documentation on using Terraform to provision and manage infrastructure on Google Cloud, including tutorials, references, and best practices.\u003c/p\u003e\n"],["\u003cp\u003eYou can get started with Terraform by following tutorials on running a web server, storing state in Cloud Storage, and using basic commands.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers advanced topics such as managing infrastructure as code with GitOps, exporting and importing resources, and using policy validation for compliance.\u003c/p\u003e\n"],["\u003cp\u003eResources include self-paced training modules on various Terraform topics, as well as code samples and reusable Terraform modules available on GitHub.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides resources to obtain support for Terraform, through community resources and other support channels.\u003c/p\u003e\n"]]],[],null,["# Terraform on Google Cloud documentation\n=======================================\n\n[Read product documentation](/docs/terraform/terraform-overview)\nLearn how to use Terraform to reliably provision infrastructure on Google Cloud.\n[Learn more](/docs/terraform/terraform-overview)\n\n\u003cbr /\u003e\n\nStart building and deploying on Google Cloud with a [free trial](https://console.cloud.google.com/freetrial). \n\n\u003cbr /\u003e\n\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nfollow_the_signs\n\n### Get started\n\n- Tutorial \n\n\n [Get started with Terraform](/docs/terraform/get-started-with-terraform)\n\n- Reference \n\n\n [Basic Terraform commands](/docs/terraform/basic-commands)\n\n- Tutorial \n\n\n [Store Terraform state](/docs/terraform/resource-management/store-state)\n\n- Tutorial \n\n\n [HashiCorp tutorials](https://learn.hashicorp.com/collections/terraform/gcp-get-started)\n\n- Reference \n\n\n [Google Cloud provider](https://registry.terraform.io/providers/hashicorp/google/latest/docs)\n\nemoji_objects\n\n### Learn more\n\n- Best practice \n\n\n [Terraform best practices](/docs/terraform/best-practices-for-terraform)\n\n- Conceptual guide \n\n\n [Understanding APIs and Terraform](/docs/terraform/understanding-apis-and-terraform)\n\n- Tutorial \n\n\n [Manage infrastructure as code](/architecture/managing-infrastructure-as-code)\n\n- Reference \n\n\n [Get support for Terraform issues](/docs/terraform/getting-support)\n\nformat_list_numbered\n\n### Use tools\n\n- Tutorial \n\n\n [Export resources into Terraform](/docs/terraform/resource-management/export)\n\n- Tutorial \n\n\n [Import resources into Terraform state](/docs/terraform/resource-management/import)\n\n- Tutorial \n\n\n [Create a configuration with Service Catalog](/service-catalog/docs/terraform-configuration)\n\n- Technical \n\n\n [Use policy validation](/docs/terraform/policy-validation)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Learn Terraform fundamentals\n\n\nIn this lab, you install Terraform and create a VM instance using Terraform.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/1208?parent=catalog) \nTraining \nTraining and tutorials\n\n### Learn how to automate Infrastructure on Google Cloud with Terraform\n\n\nIn this lab, you write infrastructure as code with Terraform.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/15841?parent=catalog) \nTraining \nTraining and tutorials\n\n### Learn how to build Cloud Infrastructure with Terraform\n\n\nIn this lab, you learn how to describe and launch cloud resources with Terraform.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/17763?parent=catalog) \nTraining \nTraining and tutorials\n\n### Learn about managing state\n\n\nIn this lab, you learn how to store Terraform state in Google Cloud Storage.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/15845?parent=catalog) \nTraining \nTraining and tutorials\n\n### Learn to use Terraform modules\n\n\nIn this lab, you learn how modules can address problems of code complexity, duplication, and reuse.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/15836?parent=catalog) \nTraining \nTraining and tutorials\n\n### Learn to use policy validation\n\n\nIn this lab, you learn how to enforce policies on Terraform configurations.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/33968?parent=catalog) \nCode sample \nCode Samples\n\n### Resource samples\n\n\nFind samples to build your infrastructure.\n\n\n[Open GitHub](/docs/terraform/samples) \nCode sample \nCode Samples\n\n### Blueprints\n\n\nFind deployable, reusable Terraform modules.\n\n\n[Open GitHub](/docs/terraform/blueprints/terraform-blueprints)\n\nRelated videos\n--------------"]]