$ cat ~/.config/ctx/contexts/acme-prod.yaml
name: acme-prod
environment: production
aws:
profile: acme-prod
region: us-east-1
kubernetes:
context: prod-cluster
namespace: default
vpn:
type: wireguard
auto_connect: true
tunnels:
- name: postgres
remote_host: db.internal
$ ctx list
NAME ENVIRONMENT CLOUD ORCHESTRATION
acme-dev development aws kubernetes
acme-staging staging aws kubernetes
acme-prod production aws kubernetes
$ ctx use acme-prod
⚠️ Switching to PRODUCTION environment: acme-prod
Type 'yes' to confirm: yes
✓ Tunnel postgres: localhost:5432 → db.internal:5432
✓ VPN connected: wireguard
✓ AWS profile: acme-prod (us-east-1)
✓ Kubernetes: prod-cluster/default
✓ Environment variables loaded
Context 'acme-prod' is now active.
[ctx: acme-prod] $
[ctx: acme-prod] $ kubectl get pods
NAME READY STATUS RESTARTS AGE
api-6bb4d8744b-qgs5g 1/1 Running 0 23d
worker-79697c98f4-69k99 2/2 Running 0 23d
frontend-6947fd5477-jsmns 1/1 Running 0 9d
[ctx: acme-prod] $ aws s3 ls
2025-08-21 19:54:09 acme-avatars
2025-03-07 17:23:14 acme-logos
2026-01-13 20:55:29 acme-assets-prod
2025-11-07 13:40:28 acme-terraform-state
[ctx: acme-prod] $