tf-services/variables.tf
quinn 1be4f8ba6b feat(tf-services): reverse-DNS name + Caddy/TLS + ROOT_URLs
Droplet com.uvlava.quinn.artifacts (ignore_changes name+user_data). cloud-init
now provisions Caddy with auto-TLS routing forge/npm/pypi.{ct,mc,quinn}.uvlava.com
to the 3 Forgejo, each with its ROOT_URL. Matches live 134.199.243.61.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 23:45:43 -04:00

29 lines
723 B
HCL

variable "do_token" {
type = string
sensitive = true
description = "DigitalOcean PAT (ct project)."
}
variable "region" {
type = string
default = "nyc3"
}
variable "droplet_size" {
type = string
default = "s-2vcpu-4gb"
}
variable "ssh_key_fingerprints" {
type = list(string)
description = "DO SSH key fingerprints authorized on the box."
default = [
"00:b5:2c:23:67:43:e5:39:c9:c2:43:31:6e:5c:03:10", # plum-natalie (operator laptop)
"b2:7e:66:b1:9b:61:ac:69:c5:96:a9:97:34:5c:9b:db", # cocotte-fleet
]
}
variable "name" {
type = string
default = "com.uvlava.quinn.artifacts" # reverse-DNS: forges + registries box (convention:infra_manifest droplet_naming)
}