iac.htora.dev · security templates

Home/Tools/Terraform pipeline planner

Terraform pipeline planner

Pick the tools you use, and the runbook below rebuilds with every step a Terraform pipeline needs, from the state bucket to drift detection. Each step says where it happens, what you set up, what it does underneath, and what an attacker gets if you skip it.

Each step links to the template or lesson on this site that builds or explains it. For GitHub Actions and GitLab CI it also writes a starter pipeline file. Your choices stay in the page address, so a link to this page shares the setup.

Your tools

Repository

CI or orchestrator

Runners

Target platform

IaC tool

Where state lives

Security scanner

Secrets Terraform needs

A dashed option does not fit the choices so far. Select it to see why.

Add-ons, pick any

Each add-on puts its own step into the runbook, tagged Add-on and marked in purple.

Show on each step

Go to the runbook

    The runbook

    Steps

    Starter pipeline file

    A first version of .github/workflows/terraform.yml for the tools picked above. Actions are pinned to a full commit SHA, each job has least permissions, and sign-in uses OIDC. Every pull request gets a plan with the read identity, and main applies that same plan after approval. Read it, and change every line marked CHANGE ME.

    Download

    Names such as ORG/infra and prod are placeholders. Vendor details were checked against vendor documentation in October 2026; versions and menus move, so confirm against current docs before you build.

    Registry 0.23.0. Built 2026-11-17.

    Made by Habibullah Tora. Source on GitHub. Code under the MIT licence, writing under CC BY 4.0.