- Python 33.9%
- HCL 23.6%
- Shell 22.8%
- JavaScript 13%
- Dockerfile 4%
- Other 2.7%
| aws | ||
| digitalocean | ||
| keycloak/targets/internal | ||
| kustomizations | ||
| make | ||
| renovate | ||
| runbooks | ||
| scripts | ||
| secrets | ||
| .dockerignore | ||
| .gitignore | ||
| .sops.yaml | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| Makefile | ||
| README.md | ||
| renovate.json | ||
| tools.Containerfile | ||
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: