Photo by ika ika on Unsplash

  • Formatting and validating Terraform files

    Consistent HCL and early validation catch mistakes before plan or apply. This page covers terraform fmt and validate, variable and lifecycle checks, TFLint, pre-commit hooks, and a minimal CI gate—with a pointer to terraform test for module regressions.

    · Cloud Platforms / Terraform / Configuration Language

  • Getting started with Terraform on Google Cloud

    A step-by-step runbook to install Terraform, authenticate with Google Cloud, and manage a storage bucket, a VPC, and a small Compute Engine VM through init, plan, apply, and destroy—using the standard file layout.

    · Cloud Platforms / Terraform / Fundamentals

  • HCL structure in Terraform

    HashiCorp Configuration Language is how Terraform files declare providers, resources, variables, and outputs. This page walks through blocks and expressions, meta-arguments, dependency graphs, and sensible file layout—with Google Cloud examples throughout.

    · Cloud Platforms / Terraform / Configuration Language

  • Terraform cheat sheet

    Scannable Terraform CLI commands for init, fmt, validate, plan, apply, state, import, workspaces, and common environment variables—grouped for quick lookup beside the Terraform series.

    · Cloud Platforms / Terraform / General

  • Terraform glossary

    Terraform terms used across the series—provider, state, backend, plan, drift, and more—each defined briefly and linked to the chapter that explains the idea in depth.

    · Cloud Platforms / Terraform / General

  • Terraform modules

    Modules bundle resources into reusable units with inputs and outputs. This page covers root versus child modules, calling modules from local paths, git, and the Registry, versioning with terraform-google-modules, and refactoring with moved blocks.

    · Cloud Platforms / Terraform / Configuration Language

  • Terraform vs OpenTofu and alternatives

    Terraform is not the only way to define infrastructure. This comparison covers OpenTofu as a compatible fork, Pulumi's general-purpose languages, cloud-native tools on GCP AWS and Azure, and Ansible for configuration after provisioning.

    · Cloud Platforms / Terraform / General

  • Infrastructure as Code with Terraform

    Terraform lets you describe cloud infrastructure in version-controlled configuration and reconcile it with a plan/apply loop. This overview covers why IaC matters, how Terraform's declarative model works, the core moving parts, the standard workflow, and authenticating to Google Cloud.

    · Cloud Platforms / Terraform / Fundamentals

  • State data in Terraform

    Terraform state maps configuration to real resource IDs and attributes. This page explains what state contains, local versus GCS backends with locking, state commands, import and moved blocks, drift, sensitive values, workspaces, and when to use remote state data sources.

    · Cloud Platforms / Terraform / State

Search articles

Type a word to search published articles.

Open the search page