Files
cole-maxwell1 1382c42803 feat: add Hetzner-hosted todo application stack
Implement the server-rendered Go todo application with PostgreSQL persistence, Tailwind styling, health checks, and test coverage.

Provision production and staging infrastructure with OpenTofu, including private networking, static IPs, Object Storage backups, and load balancing.

Configure Rocky Linux hosts with Ansible, rootless Podman, PostgreSQL, WAL-G backup automation, staging restores, and generated inventory.
2026-08-06 21:34:56 -05:00

68 lines
1.0 KiB
Terraform

variable "hcloud_token" {
type = string
sensitive = true
}
variable "project_name" {
type = string
default = "todo"
}
variable "network_zone" {
type = string
default = "eu-central"
}
variable "server_location" {
type = string
default = "nbg1"
}
variable "server_type" {
type = string
default = "cx22"
}
variable "ssh_key_ids" {
type = list(number)
}
variable "ssh_source_cidrs" {
type = list(string)
description = "Trusted public CIDRs permitted to SSH to nodes."
}
variable "prod_private_ip" {
type = string
default = "10.0.1.10"
}
variable "staging_private_ip" {
type = string
default = "10.0.1.20"
}
variable "s3_access_key" {
type = string
sensitive = true
}
variable "s3_secret_key" {
type = string
sensitive = true
}
variable "s3_endpoint" {
type = string
description = "Hetzner Object Storage endpoint, for example https://nbg1.your-objectstorage.com."
}
variable "s3_region" {
type = string
default = "nbg1"
}
variable "bucket_name" {
type = string
}