Commit graph

5 commits

Author SHA1 Message Date
Jezza Hehn
8b0c095c50 slim terraform to match reality: server-only config
- Removed network, floating IP, volume, firewall, cloud-init (overkill for current setup)
- Matched config to actual server: cpx11, ash, krusty-clearnet
- Imported existing server (125941041) into Terraform state
- Applied labels (project=krustyplanet, role=web)
- Added outputs.tf for server_id, ipv4, location
- Added .gitignore for tfvars/state/secrets
2026-04-13 23:14:16 +00:00
Jezza Hehn
e1633a041f Add domain variable to cloud-init and fix PROJECT_NAME references 2026-04-13 22:16:58 +00:00
Jezza Hehn
dbdda6c9c4 Simplify cloud-init template - remove templatefile references 2026-04-13 22:16:22 +00:00
Jezza Hehn
c07d280927 Fix Terraform cycle error - remove firewall_ids from server 2026-04-13 22:14:55 +00:00
Jezza Hehn
b1fde182bf Add Terraform configuration for KrustyPlanet VPS
- Configure Hetzner Cloud server (CPX22, Ubuntu 24.04)
- Manage floating IP (87.99.133.81)
- Firewall rules for HTTP, HTTPS, SSH
- Persistent volume (40GB)
- nginx reverse proxy with SSL (Let's Encrypt)
- contact-api (Node.js email backend)
- Fix CORS issue: removed proxy_set_header Origin ://;
- Include cloud-init for initial provisioning

This Terraform config will manage the VPS going forward.
2026-04-13 22:14:11 +00:00