Back to Terraform

Terragrunt, Automation Platforms and Typed IaC Choices

November 5, 2026 Wasil Zafar 31 min read

Evaluate ecosystem tools by the workflow problem they solve and their current maintenance status

Table of Contents

  1. Name the Missing Capability Before Adding Another Tool
  2. Use Terragrunt Where Its Model Fits the Repository
  3. Compare Atlantis, Spacelift, env0 and Scalr by Deployment Model
  4. Typed Languages Are an Authoring Choice with Lifecycle Costs
  5. CDKTF Is Deprecated, So Focus on Existing Users’ Migration
  6. Run a Small Tool Evaluation Against Real Requirements

Name the Missing Capability Before Adding Another Tool

A platform team with forty roots had a familiar list of complaints. Every root repeated the same backend block and the same provider block. The pull-request plan was a Jenkins job that three people understood. Security reviewed policy in a spreadsheet after the apply. A subnet changed in the console in March and nobody noticed until July. Developers waited four days for a new sandbox.

The team bought an automation platform. Six months later the backend blocks were still copied, the policy was a dashboard nobody opened, drift alerts went to a channel with no owner, and the sandbox queue was shorter only because fewer people asked. The platform had solved the run problem. The other four were never run problems.

That is the first trap: treating five missing capabilities as one purchasing decision. Name the capability first, then decide which layer of tool, if any, is the answer.

DRY root configuration is repeated wiring: backend settings, provider configuration, module sources, environment values. Its symptom is a fix repeated in several directories and an environment difference nobody intended. Native modules and partial backend configuration already reduce it; a wrapper removes more by generating backend and provider files from a shared root.

Run automation is who executes plan and apply, with which identity, approval, concurrency and audit record. Its symptom is a human running terraform apply from a laptop, or a pipeline that applies on merge without a named reviewer. Atlantis and the SaaS platforms occupy this layer. Terragrunt can invoke many units, but it does not host a control plane, approve a run or retain an audit trail.

Policy is a rule expressed as code and evaluated at a defined phase: before the plan, against the plan, at approval, or at access time. Its symptom is a rule that exists only in a wiki or a post-incident review. A policy engine attached to a run platform is not a policy document; check which phases it can see.

Drift is the difference between what state records, what the cloud contains and what the configuration asks for. Its symptom is a console change discovered by accident, or a plan that proposes to undo deliberate work. A pull-request plan only runs when someone opens a pull request; drift needs a schedule, a comparison and an owner for reconciliation.

Self-service is a developer obtaining a known-good environment through a template or catalog, with guardrails, without editing a root or waiting for the platform team. Its symptom is a ticket queue and hand-built environments that diverge from the template. A pull-request comment is a developer workflow, not a catalog.

The diagnostic is one sentence per capability: what happens today, how often, and what it costs. "We copy the same backend into every root" is a DRY problem. "Nobody knows who approved the production apply" is a run-automation and identity problem. "We cannot tell whether the console matches the code" is drift.

Figure 1 turns that into a decision path. The useful failure branch is the one at the bottom: no clear pain means no new tool.

Name the Missing Capability Before Adding Another Tool
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','titleColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','activationBorderColor':'#132440','signalColor':'#5a6e82','signalTextColor':'#132440','noteBkgColor':'#c4873b','noteTextColor':'#132440','noteBorderColor':'#132440','labelBoxBkgColor':'#a8dede','labelBoxBorderColor':'#132440','labelTextColor':'#132440','loopTextColor':'#132440','altBackground':'#f8f9fa','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    P["Team pain: copy-pasted roots
or unreviewed applies"] --> Q{"What is actually missing?"} Q -->|"same backend and provider
in every root"| D["DRY configuration
wrapper layer"] Q -->|"plan and apply run
by hand or ad hoc CI"| R["Run automation
PR plan, approval, locks"] Q -->|"rules checked
after the fact"| G["Policy
pre-plan and post-plan"] Q -->|"console edits found
by accident"| F["Drift detection
and reconciliation"] Q -->|"developers wait
for the platform team"| S["Self-service
templates and guardrails"] D --> T["Terragrunt or native
root composition"] R --> A["Atlantis, Spacelift,
env zero, Scalr"] G --> A F --> A S --> A T --> X["Add only this layer
keep state and identity"] A --> Y["Control plane owns
runs, policy and audit"] Q -->|"no clear pain"| Z["Stop: do not buy
a second control plane"] X --> V{"Can the same root still
run with terraform CLI?"} Y --> V V -->|"yes"| OK["Portable exit"] V -->|"no"| BAD["Lock-in: document
the exit cost"] classDef primary fill:#132440,color:#ffffff,stroke:#0b172b; classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a; classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f; classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420; classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f; class P,Q,Z primary; class D,R,G,F,S,T secondary; class A,X,OK ok; class BAD danger; class V warn;

Figure 2 separates the layers that product names blur: authoring, wrapper orchestration, run control plane, and the state and cloud below both.

Four layers of a Terraform delivery stack, from authoring to state and cloud The authoring layer holds HCL, JSON and typed-language projects. The optional wrapper layer holds Terragrunt, which generates backend and provider files and orders units. The run control plane holds Atlantis, Spacelift, env zero and Scalr, which own approvals, policy, drift and audit. The bottom layer holds the state backend and the cloud account, with a crimson credential boundary between the control plane and the write identity. Five capabilities, four layers Adopt a layer, not a product category. State is the part that should outlive the tool. 1 · Authoring How intent is written and reviewed HCL Terraform / OpenTofu JSON syntax machine-generated typed language Pulumi; CDKTF deprecated 2 · Wrapper orchestration · optional Generates backend and provider files, orders units Terragrunt 1.2.1 include, dependency, run --all Not a control plane no hosted approvals or drift 3 · Run control plane Where runs execute and who approves Atlantis self-hosted OSS Spacelift / Scalr SaaS control plane env zero SaaS plus agents 4 · State and cloud · the portability anchor state bucket or backend S3, Azure Blob, GCS, remote cloud account resources that actually exist Write credentials cross here. The control plane may read state and logs; the apply identity is a separate decision.

The practical consequence is that a wrapper and a platform are not competitors. Terragrunt can sit under Atlantis or a SaaS platform, and a typed-language project still produces a plan that a control plane must run. The categories only look interchangeable when evaluation starts from a feature checklist.

Use Terragrunt Where Its Model Fits the Repository

Terragrunt is an orchestrator. It does not provision infrastructure itself and does not replace Terraform or OpenTofu; it invokes them. Terragrunt is a single Go binary with no background service, no control plane and no hosted state. It reads terragrunt.hcl files, generates the files Terraform needs, and runs the CLI in a cache directory.

As of 5 November 2026, the latest release is v1.2.1, published 23 October 2026. The documentation describes units, stacks and run --all, and still notes that a CLI redesign (RFC #3445) is at the proposal stage. Pin the version you test; do not assume that command names in a blog post match your release.

A unit is a directory containing terragrunt.hcl; it has its own state and is the smallest thing Terragrunt runs. A stack is a collection of units: an implicit stack is the directory tree, and an explicit stack is generated by terragrunt.stack.hcl. A dependency block passes one unit's outputs into another and builds the graph used to order runs. Destroy runs in reverse order automatically.

DRY mechanics are the first thing most teams adopt. A shared root holds the backend and provider wiring; each unit includes it and pins its module to a tag or commit, never a branch.

# root.hcl: shared backend and provider wiring
remote_state {
  backend = "s3"
  generate = {
    path      = "backend.tf"
    if_exists = "overwrite"
  }
  config = {
    bucket = "acme-tf-state"
    key    = "${path_relative_to_include()}/terraform.tfstate"
    region = "eu-west-1"
  }
}

generate "provider" {
  path      = "provider.tf"
  if_exists = "overwrite"
  contents  = <<-EOF
    provider "aws" {
      region = "eu-west-1"
    }
  EOF
}

# live/prod/network/terragrunt.hcl: one unit, one state key
include "root" {
  path = find_in_parent_folders("root.hcl")
}

terraform {
  source = "git::https://git.example.com/platform/terraform-aws-network.git//modules/vpc?ref=v2.4.0"
}
# Wrapper version is pinned beside Terraform in .mise.toml or .tool-versions
terragrunt --version
terragrunt find        # units a run would include, in resolved order
terragrunt run --all plan
terragrunt run --all apply

The backend key is built from the unit's path, for example with path_relative_to_include(), so every unit gets a distinct object without a hand-typed key. That makes the configuration versioned: the unit names its module version, and the repository names the Terragrunt and Terraform versions allowed to run it.

One backend key, two units

The classic failure is a key collision. A new unit includes the same root, the root generates the same backend key, and the new unit's plan proposes to destroy every resource in the neighbouring unit. Nothing is wrong with Terraform; the wrapper generated one state key for two units.

Figure 3 places that next to the dependency and migration branches that cause most other incidents.

Use Terragrunt Where Its Model Fits the Repository
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','titleColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','activationBorderColor':'#132440','signalColor':'#5a6e82','signalTextColor':'#132440','noteBkgColor':'#c4873b','noteTextColor':'#132440','noteBorderColor':'#132440','labelBoxBkgColor':'#a8dede','labelBoxBorderColor':'#132440','labelTextColor':'#132440','loopTextColor':'#132440','altBackground':'#f8f9fa','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    C["Change to one unit"] --> I["include root.hcl
shared backend and provider"] I --> G["generate backend.tf
and provider.tf"] G --> K{"State key unique
for this unit?"} K -->|"no"| K1["Key collision: plan wants
to destroy the neighbour"] K -->|"yes"| D{"Dependency outputs
resolve?"} D -->|"no, not applied yet"| D1["mock_outputs for plan only
never for apply"] D -->|"yes"| R["run --all plan
DAG order, filtered path"] R --> P["Review each unit plan
and the run queue"] P --> A["Apply in dependency order"] A --> M{"Path or state key
changed?"} M -->|"yes"| M1["backend migrate before
the next plan"] M -->|"no"| V["Verify a no-op plan
in every unit"] D1 --> R M1 --> V K1 --> X["Stop: fix the key first"] classDef primary fill:#132440,color:#ffffff,stroke:#0b172b; classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a; classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f; classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420; classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f; class C,K,D,M primary; class I,G,R,P secondary; class A,V ok; class K1,X danger; class D1,M1 warn;

Orchestration is the reason to keep Terragrunt after DRY is solved. The value is a dependency queue, not a shell loop; the guardrails decide whether the queue is safe.

Command, flag or settingWhat it doesGuardrail
terragrunt find or listshows the units a run would include, in resolved order; --filter narrows the queueread it before applying
terragrunt run --all planbuilds a queue from discovered units, orders by dependency, runs with bounded parallelismthe working directory is the blast radius
terragrunt run --all applyapplies in dependency order and destroys in reversereview each unit plan and the queue
mock_outputslets a plan proceed when a dependency has never been appliedplan only; an apply that consumes a mock creates the wrong resource

Moving a unit is a state migration

terragrunt backend bootstrap creates the remote state resources described by remote_state.

When a unit moves, its path-derived key changes: run terragrunt backend migrate as a state migration with a backup and a verification plan, not a directory rename.

The fit test is structural, not aspirational. The same signals that justify the extra layer also name when it is a liability.

SignalTerragrunt earns its layerStay with native Terraform
Rootsmany small units with repeated backend and provider wiringtwo or three roots that one module already handles
Layoutan environment or region hierarchy with dependency orderingpaths that change often, because every move is a state migration
Estatemixed Terraform/OpenTofu, since it prefers OpenTofu when both binaries are presenta requirement for approvals, RBAC, policy, drift or self-service
Teamwilling to own one more HCL layer and its failure modescannot absorb that layer's failure modes

Pin the wrapper version beside Terraform in .mise.toml or .tool-versions, and record both in the plan record.

Compare Atlantis, Spacelift, env0 and Scalr by Deployment Model

The most common error in this comparison is the word "self-hosted". It gets applied to four arrangements: a platform you install and operate completely; a SaaS control plane with workers in your network; a SaaS control plane with a private VCS connection; and an agent that only executes jobs while the vendor keeps the database, UI and scheduler. They are not equivalent, and the difference decides who patches what, where state and logs live, and what happens during a vendor outage.

Table 1 records what the vendor documentation said on 5 November 2026. Editions and feature gates change; verify the current page and your contract before shortlisting.

ToolDeployment model, checked 5 Nov 2026Where runs executePolicy and approvalDrift and self-service
AtlantisOpen source, self-hosted only per project docs: you operate the Go server, webhook endpoint and plan storage; no official hosted SaaSYour infrastructure; Terraform or OpenTofu is downloaded at runtime or baked into a custom imageConftest server-side checks; approval by pull-request command and repository permissions; no hosted RBAC portalDrift and remediation through alpha API endpoints with PR: 0, driven by an external scheduler; self-service through pull-request comments
SpaceliftSaaS control plane with public workers and optional private worker pools; a separate Self-Hosted edition runs the full control plane on KubernetesSpacelift public workers, your private workers, or your own self-hosted installationOPA plan, approval, access and notification policies; Spaces and role bindingsBuilt-in drift detection and scheduling; Blueprints and Templates for self-service
env0 (env zero)SaaS control plane; self-hosted Kubernetes or Docker agents execute runs (Enterprise; the free tier includes one self-hosted runner)env zero hosted agents by default, or agents in your infrastructureOPA-based deployment and approval policies; RBAC, OIDC and SAMLDrift detection, cause analysis and remediation; managed self-service and Backstage integration
ScalrSaaS control plane; shared managed runners or self-hosted agent pools; no full self-hosted control plane documented on the pages checkedScalr managed runners or your agentsOPA policy groups inherited by environment; RBAC; inherited provider credentialsDrift detection; no-code module deployments for self-service

Read the table by asking where the control plane lives. Atlantis is the only one of the four that is self-hosted in the ordinary sense: there is no official Atlantis SaaS, and the documentation tells you to run the server, expose it to your Git host, and give it a persistent disk because plans are stored on disk. It has no external database. That is an operational burden and a data-residency advantage, depending on your side.

Spacelift is SaaS by default, but not only SaaS. Private worker pools run jobs in your infrastructure, and the vendor publishes a Self-Hosted edition that installs the control plane into Kubernetes on AWS, Azure, GCP or on-premises. The self-hosted edition includes Enterprise functionality except features that do not make sense there, such as the public worker pool. Name the edition rather than collapsing both offerings into one label.

env0, now branded env zero, is a SaaS control plane with self-hosted execution agents. The agents run on Kubernetes through a Helm chart or as a Docker container, require outbound connectivity but no inbound access, and keep secrets on your infrastructure. The docs call self-hosted agents an Enterprise feature while the pricing page lists one self-hosted runner on the free tier; confirm which agent features that includes. The control plane remains the vendor's, so this is a hybrid, not a self-hosted platform.

Scalr is also a SaaS control plane. Runs execute on Scalr's shared runners by default, or on self-hosted agent pools in your network. The vendor's architecture page describes three state models: Scalr-managed storage, a bring-your-own bucket with Scalr as the operations backend, and a standard non-Scalr backend such as S3 or Azure Blob. It does not document a full self-hosted control plane on the pages checked. If a vendor sales deck says otherwise, ask for the installation guide and the support boundary in writing.

The answers matter more than the feature matrix, because they decide the exit.

The feature comparison matters only after the deployment boundary is clear. Atlantis brings pull-request plans, project locks and Conftest policy to a team willing to run a server. Spacelift brings a hosted control plane, OPA at several decision points, drift scheduling and catalog-style self-service, with private workers or a full self-hosted install. env zero brings a broad template catalog, drift remediation and portal integration, with agents for private execution. Scalr brings a Terraform/OpenTofu-focused control plane, hierarchical policy and credentials, and flexible state storage. None of those is a ranking; each is a different ownership bargain.

Typed Languages Are an Authoring Choice with Lifecycle Costs

The phrase "typed IaC" hides a category error. HCL is a configuration language with type constraints: a variable can be declared as a string, a number or a list of objects, and Terraform checks values against the provider schema. That is not a general-purpose type system. Here, "typed languages" means TypeScript, Python, Go, C# or Java used to generate Terraform configuration, not HCL's own constraints.

Native HCL remains the default for reasons beyond syntax. It is the language the plan is written in, so a reviewer reads the same expression the provider evaluates. Modules provide reuse, iteration and dynamic blocks cover most repetition, and terraform test provides native testing. The provider schema is the type authority at plan time. Its lifecycle cost is the lowest here: one binary, one lock file, one upgrade cadence.

The JSON syntax is also native. Terraform accepts .tf.json, useful when a program generates configuration: a policy compiler, a catalog, a migration script. It is a poor hand-authoring format at scale because it has no comments, functions or expression language beyond the JSON structure. Treat it as an output format or a bridge for a generator you own, not as a more "typed" HCL.

Pulumi is the main currently maintained general-purpose-language alternative. As of 5 November 2026 its latest release is v3.274.1. It supports TypeScript, Python, Go, C# and Java, and can use Terraform providers through bridged providers. Its appeal is the existing test, package and IDE tooling. The cost is a second toolchain and state model: you own the language runtime, the Pulumi CLI, the provider bridge versions, the generated SDKs and their upgrade path. Provider coverage can differ because the bridge is an adapter, not the same execution path. A migration from HCL is a project, not a flag.

CDKTF used to occupy the same category, with TypeScript, Python, Java, C# and Go generating Terraform JSON through the cdktf CLI. It is now history for new builds; the next section records the date and the migration problem. A grid listing "supports TypeScript" may describe a deprecated product.

The lifecycle costs are similar across any typed-language choice, and easy to omit from a business case:

  • Toolchain ownership. Node, Python, Go or Java versions, lock files, security patches and CI images join the infrastructure repository's maintenance.
  • Generated bindings. Provider schemas change; bindings must be regenerated and the generated code reviewed or version-pinned.
  • Two debugging surfaces. A failure can sit in the program, the generated configuration, the provider or the cloud API. The plan is still the authority, but the path is longer.
  • Construct libraries. Reusable abstractions become internal products that need owners, versioning and deprecation policies.
  • Hiring and review. Reviewers must read the language and the generated plan; a team that can do only one is a bus factor.

Choose the authoring layer last

Choose a typed language when the ecosystem is a hard requirement — a platform team already ships TypeScript libraries and wants infrastructure to consume them — and when the team will own the lifecycle. Choose HCL when the requirement is infrastructure with the fewest moving parts, which is most of the time. Choose JSON when a generator owns the source.

Do not choose a typed language because "types catch errors": the compiler checks the program, while the provider and the cloud API check the infrastructure, and only a plan and a test reveal what you meant.

CDKTF Is Deprecated, So Focus on Existing Users’ Migration

HashiCorp's CDK for Terraform documentation carries the notice plainly: CDKTF is deprecated as of 10 December 2025, and HashiCorp no longer supports or maintains it. The last public release is v0.21.0 from June 2025. The only useful content now is what an existing user does next.

Unsupported, not merely unfashionable

CDKTF is deprecated as of 10 December 2025 and receives no further support or maintenance. Do not start a new CDKTF project in 2026; if you already run one, treat it as an unsupported dependency with a dated migration plan, not as a stable authoring choice.

The risk is not that the binary stops working tomorrow. It is that nothing upstream moves with it. Terraform CLI releases, provider schema changes, runtime upgrades and security patches continue without a maintainer. A stack pinned to v0.21.0 can run for a while; the failure usually arrives as a generated binding that no longer matches a provider schema, or a CI image upgrade the old CLI cannot follow.

Existing users have three options, and only two are engineering choices.

Migrate to native HCL or JSON. This is the lowest-lifetime-cost target and keeps the Terraform/OpenTofu ecosystem intact. Use cdktf synth as a reference for the generated resources and values, not as a new source of truth.

# Target root: adopt the existing object instead of recreating it
import {
  to = aws_db_instance.orders
  id = "<existing-resource-id>"
}
cdktf synth      # cdk.tf.json stays in the repo as evidence
terraform init   # same backend key as the CDKTF stack
terraform plan   # no unexpected replacement is the acceptance test

Keep the existing state backend and import any resource whose address changes, rather than letting Terraform destroy and recreate it.

Migrate to Pulumi. If the reason for CDKTF was a general-purpose language, Pulumi preserves that property and is maintained. It does not preserve the Terraform state model or exact provider behavior; it is a new toolchain with its own migration project. Choose it when the language requirement outweighs the Terraform-native one, and budget the same inventory, import and verification work.

Stay on the pinned release. This is risk acceptance, not migration. It can be legitimate for a small, low-change stack with a fixed provider set and a named owner, but it needs an expiry date, a pinned CI image, a vulnerability exception and a documented exit. "It still runs" is not a control.

The migration is a state-preserving refactor. Inventory every stack: language, CDKTF version, provider versions, constructs, state backend and owner. Freeze new stacks and constructs. Pick a target per stack, not one for the estate. Synthesize the current JSON and store it as evidence. Rewrite one stack, keep the same backend key, and run a plan with no unexpected replacement. Only then remove the CDKTF CLI from that pipeline and archive the old code.

Figure 4 shows the safe path and the two ways it goes wrong: treating generated JSON as the new source, and recreating resources instead of importing them.

Migrating a CDKTF stack to native HCL while preserving Terraform state The left panel shows a CDKTF 0.21.0 project in TypeScript or Python, synthesising cdk.tf.json, with an unsupported dependency and no patches. The right panel shows the target HCL root using the same state backend and an import-or-no-op verification. A crimson band records the 10 December 2025 deprecation and the failure path of recreating resources instead of importing them. Keep the state. Change the authoring layer. A migration is a refactor with a plan, not a rewrite that starts from an empty state. Before · unsupported CDKTF 0.21.0 TypeScript, Python, Java, C# or Go cdktf synth → cdk.tf.json No patches, no new builds deprecated 10 December 2025 Risk grows with every provider release generated bindings drift from schemas one stack at a time After · supported HCL root and versioned modules Terraform or OpenTofu, same provider schema same backend key, same state lineage import blocks for changed addresses then require a no-op plan Cut the cdktf CLI from CI archive the generated JSON as evidence Failure path: delete the old stack before the import is verified, or let Terraform recreate data-bearing resources. The generated JSON is a starting reference, not the new source of truth. The state is the asset that must survive.

Two details decide whether the migration is boring or expensive. First, keep the state key. If the target root points at a different backend key, Terraform sees an empty world and proposes to create everything; that is a recreation event wearing a migration label. Second, import before you delete. An import block makes adoption plan-visible, and a plan that proposes replacement of a database or bucket is a stop signal. The old stack stays in the repository, disabled in CI, until the target's no-op plan and the audit log agree that nothing was destroyed.

No supported one-click CDKTF-to-HCL converter appears in the official documentation. cdktf synth gives a useful reference and diff, not a maintained HCL codebase; review any third-party converter's output as generated code.

Run a Small Tool Evaluation Against Real Requirements

Tool evaluations fail predictably: the demo uses a clean account, scoring starts after the shortlist, a vendor claim becomes fact, and nobody records what would make the team leave. A small evaluation fixes requirements and weights before the demo.

Start with the capability sentence and a one-page requirements note, then choose at most two tools. Comparing four produces a feature grid, not a decision. Compare like with like; do not score Terragrunt against Spacelift.

Use five criteria, weighted before scoring:

  • Permissions and identity, 25%. Can plan and apply use separate roles? Is OIDC supported instead of long-lived keys? Can someone read state without applying it? Where do logs and state copies live? A platform needing an administrator role for everyday runs fails here regardless of UI.
  • State portability, 20%. Who owns the bucket or database? Can you point the same root at the backend and plan without the platform? Is state encrypted with a key you control? Can you export it without a support ticket?
  • Operational cost, 20%. Who patches the control plane and runners? What is the upgrade cadence and on-call surface? Include engineering hours and runner infrastructure, not only the licence. A free self-hosted server is not free if it needs a team.
  • Workflow fit, 20%. Does it support the review flow actually used: pull-request plans, approvals, concurrency, policy phases, drift scheduling and self-service? Score first-year capabilities, not the roadmap.
  • Exit strategy, 15%. Can you leave with state, configuration and audit history? Which features are proprietary and must be rewritten: policy files, blueprints, workflows, RBAC mappings? Is there a contractual exit period?

Score 1 to 5: 1 is a blocker, 3 is workable with custom engineering, 5 meets the requirement without custom work. Multiply by the weight and sum. The arguments about anchors matter more than the arithmetic, so record a reason for every score.

Atlantis scores 3 for permissions, 5 for state portability, 2 for operational cost, 4 for workflow fit and 5 for exit: 3.70. Scalr scores 4 across the board: 4.00. Atlantis wins portability and exit, loses on server burden and the narrower policy and self-service surface. Change the weights to 25% permissions, 20% portability, 10% operational cost, 20% workflow and 25% exit, and both land at 4.00. The tie is the finding: the choice depends on how much the team values exit and how much server maintenance it can absorb, not on a universal ranking.

The lab turns that into a dated evidence matrix for two tools, with no account, token or platform dependency.

Design

Choose an automation platform

Execution status: design-only. Documentation was checked on 5 November 2026 against Atlantis 0.49.0 and the Scalr SaaS documentation. No account is created, no cloud credential is used and no platform is provisioned. All values below are illustrative; no real account identifiers appear.

Prerequisites. A text editor, a browser, and the capability sentence from the first section. Terraform CLI 1.17.1 is optional, only if you want to test a local terraform_data root as a portability check; no provider credentials are needed.

Minimal setup. Create labs/p35/ and four files in it: a requirements note, an evidence matrix, the matrix weights and the decision record. Put the requirement sentence and the two candidate names at the top of the requirements note. Do not install either tool.

The matrix file. Start with the weights and the two candidates, then fill the score table in step 5.

as_of: 2026-11-05
candidates:
  - name: atlantis
    version: 0.49.0
    deployment: self-hosted only
  - name: scalr
    version: saas
    deployment: saas control plane with optional agents
criteria:
  permissions: 0.25
  state_portability: 0.20
  operational_cost: 0.20
  workflow_fit: 0.20
  exit_strategy: 0.15

The scored matrix. Scores run 1 to 5; the weighted total is the arithmetic you put in decision.md.

CriterionWeightAtlantisScalr
Permissions and identity25%34
State portability20%54
Operational cost20%24
Workflow fit20%44
Exit strategy15%54
Weighted total100%3.704.00
  1. Write the capability sentence and the evidence: how often, who is affected, what it costs. If you cannot name it, stop; a tool will not create the requirement.
  2. Record the deployment model for each candidate from the vendor's own page: control plane, execution, state and patching. Date every line. For Scalr, record whether a full self-hosted control plane is documented; if not, write "unresolved" rather than inferring one.
  3. Build the evidence matrix with one row per claim: claim, source URL, date checked, version or edition, confidence (verified, inferred or unresolved). Include at least one unresolved item per tool; a matrix with no uncertainty is a sales document.
  4. Write the exit test on paper. For each candidate, name the state backend, the command that would run the same root without the platform, the audit export and the proprietary features that would be lost. If the command does not exist, the exit score is at most 2.
  5. Score each criterion from 1 to 5 with a one-sentence reason, and fill the scored matrix. Compute the weighted total by hand and put the arithmetic in decision.md; do not hide it in a spreadsheet formula you cannot audit.
  6. Change the weights twice: once to value exit and portability more, once to value operational cost more. Record whether the winner changes. A decision that flips under a defensible reweighting is a close call and should be written as one.
  7. Write the decision record: chosen tool, rejected tool, the two assumptions that would reverse the decision, the owner, the review date and the first metric that would show the choice was wrong.
  8. Add the permission test: list every identity the platform holds, what it can read and write, and where its credential is stored. If one identity can change the platform's own trust policy and apply to production, record a blocker.

Expected observation. Two candidates, five weighted criteria, every claim dated and sourced, at least two unresolved questions, and an exit command you could actually run. The matrix should make the deployment model obvious before it makes the feature list impressive.

Failure checks. The lab fails if the weights were chosen after the scores, if "self-hosted" is recorded without naming what is self-hosted, if a vendor blog is the only source for a security claim, if no state export path is written down, or if the decision record has no condition that would reverse it.

Cost dimensions. Zero. Documentation only; no trial account, runner, state bucket or cloud API call.

Cleanup. Delete labs/p35/, or keep it as a reviewed decision record with placeholders intact. Do not paste a real account ID or a trial token into the evidence file.

Evidence to keep. The requirements note, the dated evidence matrix, the weighted scores with their reasons, the sensitivity result and the signed decision record.

The output is not a verdict about which vendor is best. It records the capability we lacked, the deployment boundary we accepted, the state we can still reach without the tool, and what would make us revisit the choice. A tool that survives that record is operable; one that only survives a feature comparison is a future migration project.

Sources checked on 5 November 2026: Terragrunt docs, Atlantis deployment and locking, Spacelift worker pools and Self-Hosted, env zero agents, Scalr agent pools and architecture, CDKTF, and Pulumi releases.

Next in the Series

In Beyond the Root Module: Platform APIs and Provider Engineering, we'll explore Connect Terraform to self-service platforms and decide when a custom provider or external workflow is justified.