Commit graph

7 commits

Author SHA1 Message Date
Jezza Hehn
220df89bf0 Fix DOMAIN variable name - DOMAIN -> domain 2026-04-13 22:17:11 +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
dd40b38b99 Fix cloud-init variable name - NODE_VERSION -> node_version 2026-04-13 22:16:37 +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
73e842d581 Remove duplicate provider.tf - provider config is in main.tf 2026-04-13 22:14:25 +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