Honua Terraform
September 11, 2026 · View on GitHub
Operator-focused Terraform for deploying Honua in your own AWS or Azure account.
This repository was named honua-terraform until it was renamed to honua-iac;
GitHub redirects the old name and old clone URLs here, so no separate archive
exists.
Current infrastructure capabilities are summarized in docs/features/README.md.
Deploy Honua (operator path)
- Choose a target stack:
infrastructure/terraform/examples/aws(AWS ECS/Fargate)infrastructure/terraform/examples/azure(Azure Container Apps)infrastructure/terraform/examples/aws-serverless(AWS Lambda)infrastructure/terraform/examples/azure-functions(Azure Functions)
- Copy the stack's
terraform.tfvars.exampletoterraform.tfvarsand fill in secrets/images. - For a single-node development cell, add the stack's non-secret
smalloverlay frompresets/small.tfvars.example. - Run plan before apply:
terraform -chdir=infrastructure/terraform/examples/aws init
terraform -chdir=infrastructure/terraform/examples/aws plan \
-var-file=presets/small.tfvars.example
terraform -chdir=infrastructure/terraform/examples/aws apply \
-var-file=presets/small.tfvars.example
- Capture outputs (
honua_url, DB endpoint/FQDN) and run health checks.
Detailed guide: docs/operator-deployment.md. Preset contract: docs/deployment-presets.md.
Operator contract (automation handoff)
Certified stacks emit deployment_contract, validation_contract, and
operations_contract — the versioned honua.operator-contract/v1 handoff that
honua-devops, honua-server, and honua-release consume instead of scraping
scalar outputs. The scalar outputs remain but are non-authoritative.
Schema, field semantics, sensitivity rules, canonicalization/digest rules, compatibility policy, and producer/consumer ownership: docs/operator-contract.md.
terraform -chdir=infrastructure/terraform/examples/aws output -json > contract.json
./scripts/validate-operator-contract.sh --require-qualified contract.json
Repository layout
infrastructure/terraform/modules/: reusable Terraform modulesinfrastructure/terraform/examples/: deployable stacks for each runtime targetinfrastructure/terraform/bootstrap/: optional least-privilege identity bootstrap templatesinfrastructure/terraform/validation/: maintainer-only integration scripts and runbook helpers.github/workflows/: Terraform CI and manual validation workflows
Module docs
modules/aws-ecs/README.mdmodules/azure-aca/README.mdmodules/aws-serverless/README.mdmodules/azure-functions/README.mdmodules/aws-eks/README.mdmodules/azure-aks/README.md
Validation and platform QA (maintainer path)
For integration/QA validation flows (policy gates, live applies, drift checks, AKS/EKS paths), use:
Beta cloud validation
Apply -> smoke -> destroy runbook execution and structured evidence capture for beta sign-off across the AWS/Azure AOT and JIT matrix:
AWS certification live evidence
The ordered commands to take a disposable AWS account from zero to the live evidence honua-iac#118 requires, and back to zero — bootstrap, the four-role separation, governed plan/apply, IAM allow/deny proofs, lock-contention refusals, teardown, and a cost estimate:
Disaster-recovery drills
Backup/restore and failover drill runbooks with RTO/RPO evidence capture:
Documentation
- Full documentation index — every published page, generated from the documentation bundle so it cannot drift.
Module publishing scope
Decision and tier classification: docs/module-publishing-decision.md.