Terraform を使用して Google Cloudでインフラストラクチャを確実にプロビジョニングする方法を学びます。詳細
無料トライアルを使用して、 Google Cloud でビルドとデプロイを始めましょう。
$300 分の無料クレジットを使用して概念実証を始める
-
Gemini 2.0 Flash Thinking をご利用いただけます。
-
AI API や BigQuery などの人気プロダクトの毎月の無料使用枠をご利用いただけます。
-
自動請求は行われず、契約も不要です。
常に無料で利用可能な 20 以上のプロダクトを確認する
AI API、VM、データ ウェアハウスなど、一般的なユースケース向けの 20 以上のプロダクトを無料でご利用いただけます。
始める
-
チュートリアル
-
リファレンス
-
チュートリアル
-
チュートリアル
-
リファレンス
詳細
-
ベスト プラクティス
-
コンセプト ガイド
-
チュートリアル
-
リファレンス
-
チュートリアル
-
チュートリアル
-
チュートリアル
-
技術
トレーニング
トレーニングとチュートリアル
このラボでは、Terraform をインストールし、Terraform を使用して VM インスタンスを作成します。
トレーニング
トレーニングとチュートリアル
このラボでは、Terraform を使用してインフラストラクチャをコードとして作成します。
トレーニング
トレーニングとチュートリアル
このラボでは、Terraform を使用してクラウド リソースを記述し、リリースする方法について学習します。
トレーニング
トレーニングとチュートリアル
状態の管理について学習する
このラボでは、Terraform の状態を Google Cloud Storage に保存する方法を学びます。
トレーニング
トレーニングとチュートリアル
このラボでは、モジュールの複雑さ、重複、再利用の問題に対処する方法について学習します。
トレーニング
トレーニングとチュートリアル
ポリシー検証の使用方法を学習する
このラボでは、Terraform 構成にポリシーを適用する方法について説明します。
コードサンプル
コードサンプル
リソースのサンプル
インフラストラクチャを構築するサンプルを見つけます。
コードサンプル
コードサンプル
ブループリント
デプロイ可能で再利用可能な Terraform モジュールを見つけます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[[["わかりやすい","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 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--------------"]]