IaC for Caution
  • Python 33.9%
  • HCL 23.6%
  • Shell 22.8%
  • JavaScript 13%
  • Dockerfile 4%
  • Other 2.7%
Find a file
2026-11-23 05:15:17 -08:00
aws feat: add caution platfrom bootstrap 2026-10-28 02:12:33 -07:00
digitalocean chore: reconcile internal Longhorn disk sizes and Talos growth setting 2026-11-13 06:03:37 -08:00
keycloak/targets/internal add updated tf state 2026-10-14 14:34:51 -07:00
kustomizations Merge remote-tracking branch 'origin/fix/anubis-allow-commit-archives' 2026-11-23 05:15:17 -08:00
make feat: add caution platfrom bootstrap 2026-10-28 02:12:33 -07:00
renovate feat: add Renovate dependency automation for all public repositories 2026-10-29 14:33:16 -07:00
runbooks k/{apps/forgejo,envs/internal/forgejo}: move to Kustomize, add Anubis 2026-11-13 13:52:18 -05:00
scripts k/{apps/forgejo,envs/internal/forgejo}: move to Kustomize, add Anubis 2026-11-13 13:52:18 -05:00
secrets chore: add unchecked bastion secrets 2026-11-11 05:06:33 -08:00
.dockerignore feat: add caution platfrom bootstrap 2026-10-28 02:12:33 -07:00
.gitignore feat: add caution platfrom bootstrap 2026-10-28 02:12:33 -07:00
.sops.yaml fix(sops): retire Danny's expired encryption key 2026-11-05 03:56:53 -08:00
AGENTS.md k/{apps/forgejo,envs/internal/forgejo}: move to Kustomize, add Anubis 2026-11-13 13:52:18 -05:00
CLAUDE.md Add AGENTS.md and CLAUDE.md 2026-10-13 17:54:34 -07:00
Makefile Merge remote-tracking branch 'origin/review/renovate-live-mode' 2026-10-30 04:10:49 -04:00
README.md feat: add caution platfrom bootstrap 2026-10-28 02:12:33 -07:00
renovate.json feat: add Renovate dependency automation for all public repositories 2026-10-29 14:33:16 -07:00
tools.Containerfile feat: add caution platfrom bootstrap 2026-10-28 02:12:33 -07:00

Caution Infrastructure

Dependencies

  • Docker
  • GNU Make

Usage

$ make shell
$ make tofu-apply

Tools Shell

The shell is a curated tools container for interacting with Caution infrastrcuture. Commands provided in documentation generally expect that they're run from within the shell.

make shell

AWS development platform

Bootstrap into an existing, dedicated AWS development account using the Docker tools shell and SOPS. This does not create accounts or migrate deployments.

For a new environment, copy the example config and edit its account ID and environment. DNS names derive from the environment: dev01 becomes dev01.aposdw.space, dashboard.dev01.aposdw.space and apps.dev01.aposdw.space. DNS is automatic by default: install publishes parent delegation using the existing encrypted DNS-user credentials; no dns_mode or parent_dns is needed for aposdw.space. Explicit manual/delegated/deferred/host-only overrides are documented in the runbook. Replace <your_env_name> below with your chosen name:

ENV_NAME='<your_env_name>'
cp aws/environments/example.json "aws/environments/$ENV_NAME.local.json"
make PROVIDER=aws ENVIRONMENT="$ENV_NAME" DOCKER=0 secrets
make PROVIDER=aws ENVIRONMENT="$ENV_NAME" shell
# Inside the tools shell:
make bootstrap-preflight
make bootstrap-plan-state

See the bootstrap runbook for secret fields, reviewed apply/install steps and recovery. Secrets belong in secrets/aws/<your_env_name>.enc.env; no host Python/AWS CLI/OpenTofu installation or manual secret exports are required.

Runbooks

Runbooks can be found in the /runbooks folder.

Some popluar ones are:

  1. Bootstrap from Zero
  2. Bootstrapping Keycloak + the employees realm
  3. Upgrading the Cluster
  4. State Encryption Rotation
  5. Emergency Certificate
  6. Velero Backup & Restore
  7. Disaster Recovery