Terraform
43 items tagged with "terraform"
Best Practices2
Tutorials11
Infrastructure as Code with Terraform on AWS
Define and provision AWS infrastructure using Terraform
How to deploy a serverless REST API on AWS Lambda
Build and deploy a production REST API using AWS Lambda and API Gateway with infrastructure as code.
How to design a VPC with public and private subnets on AWS
Build a secure AWS VPC with public and private subnets, NAT, and route tables using Terraform.
How to configure EC2 Auto Scaling groups on AWS
Set up an EC2 Auto Scaling group with a launch template, target tracking policies, and health checks.
How to build a multi-region active-active app on AWS
Architect a multi-region active-active application on AWS with Route 53, global tables, and health-based failover.
How to design a VPC and firewall rules on Google Cloud
Build a custom-mode VPC on Google Cloud with subnets, firewall rules, and Cloud NAT for private workloads.
How to provision an AWS VPC with Terraform
Write Terraform configuration to create a VPC, subnets, and routing, then apply and destroy it safely.
How to write a reusable Terraform module
Package infrastructure into a Terraform module with variables and outputs so it can be reused across environments.
How to configure Terraform remote state with locking
Store Terraform state in a remote backend with state locking so a team can collaborate without corrupting state.
How to manage infrastructure with OpenTofu
Install OpenTofu and run the init, plan, and apply workflow as a drop-in, open-source alternative to Terraform.
How to scan infrastructure-as-code for misconfigurations in CI
Add automated IaC security scanning to CI to catch insecure Terraform and Kubernetes configuration before it ships.
Blueprints4
CloudFormation to Terraform Blueprint
Migrate AWS infrastructure as code from CloudFormation to Terraform, importing existing resources without destroying or recreating live infrastructure.
ClickOps to Terraform Blueprint
Codify manually provisioned cloud resources into Terraform infrastructure-as-code with import, modules, remote state, and CI-driven plans.
CloudFormation to Terraform Blueprint
Migrate AWS CloudFormation stacks to Terraform with state import, module refactoring, and a coexistence strategy during transition.
Terraform to OpenTofu Blueprint
Migrate Terraform projects to OpenTofu, the open-source fork, with version pinning, state compatibility checks, and CI updates.
Migrations3
CloudFormation to Terraform Migration
Convert AWS CloudFormation templates to Terraform HCL
Terraform to OpenTofu Migration
Migrate from HashiCorp Terraform to open-source OpenTofu
Terraform to Pulumi Migration
Migrate IaC from Terraform HCL to Pulumi using general-purpose languages and state import
Playbooks5
AWS Landing Zone Rollout Playbook
A phased program to establish a secure, multi-account AWS foundation with guardrails, networking, and identity before workloads arrive.
Azure Landing Zone Rollout Playbook
A phased program to deploy an enterprise-scale Azure landing zone with management groups, policy guardrails, hub-spoke networking, and subscription vending.
GCP Landing Zone Rollout Playbook
A phased program to build a Google Cloud foundation with a resource hierarchy, org policies, shared VPC networking, and automated project factory.
Infrastructure as Code Adoption Playbook
A phased program to bring an ad-hoc cloud estate under infrastructure as code with modules, pipelines, and policy enforcement.
Terraform and IaC Rollout Playbook
A program to introduce Terraform-based infrastructure as code across teams with reusable modules, secure state, and policy guardrails.
Checklists6
AWS Landing Zone Setup Checklist
Stand up a secure, multi-account AWS foundation with guardrails, networking, and logging before workloads arrive.
Azure Landing Zone Setup Checklist
Build an enterprise-scale Azure landing zone with management groups, policy, networking, and identity ready for workloads.
GCP Landing Zone Setup Checklist
Establish a secure Google Cloud foundation with a resource hierarchy, org policies, shared VPC, and centralized logging.
Terraform Module Review Checklist
Review a Terraform module for correctness, reusability, security, and maintainability before publishing it for shared use.
Infrastructure-as-Code Migration Readiness Checklist
Confirm you are ready to bring an existing manually managed cloud estate under infrastructure-as-code without disruption.
Infrastructure as Code Review Checklist
Review Terraform or equivalent IaC for security, modularity, state safety, and reproducibility before it provisions production.
Stacks2
GitOps Stack (ArgoCD + Terraform)
GitOps delivery: Terraform provisions infrastructure declaratively while ArgoCD continuously syncs Kubernetes application state from Git as the source of truth.
HashiCorp Stack (Terraform + Vault + Consul + Nomad)
Cloud-agnostic infrastructure suite: Terraform provisions, Vault manages secrets, Consul handles service networking, and Nomad schedules workloads.
Comparisons7
Terraform vs Pulumi
Terraform uses a declarative DSL (HCL) for infrastructure as code; Pulumi lets you define infrastructure in general-purpose languages like TypeScript, Python, or Go.
Terraform vs CloudFormation
Terraform is a multi-cloud IaC tool; AWS CloudFormation is AWS's native infrastructure-as-code service. Terraform wins on portability; CloudFormation on AWS depth.
OpenTofu vs Terraform
OpenTofu is the open-source fork of Terraform created after HashiCorp's BSL license change. The two are largely compatible but differ on licensing and governance.
Ansible vs Terraform
Ansible is a configuration-management and automation tool; Terraform is a declarative infrastructure-provisioning tool. They overlap but solve different core problems.
AWS CDK vs Terraform
The AWS CDK defines infrastructure in real programming languages that compile to CloudFormation; Terraform uses declarative HCL across many clouds. Code power versus multi-cloud reach.
Crossplane vs Terraform
Crossplane manages cloud infrastructure through the Kubernetes API with continuous reconciliation; Terraform uses a standalone CLI and declarative HCL with explicit plan/apply.
Terraform vs Ansible
Terraform is a declarative infrastructure-provisioning tool; Ansible is a procedural configuration-management and automation tool. They solve different DevOps problems.