Restructure and variablize config

This commit is contained in:
Ian Keane 2026-08-18 10:00:53 -04:00
parent 419bb286d4
commit c6eed359e1
14 changed files with 122 additions and 28 deletions

View file

@ -3,7 +3,8 @@ variable "talos_version" {
}
variable "cluster_name" {
default = "dumpnet"
description = "Name used for cluster resources, S3 buckets, secrets, etc."
default = "dumpnet"
}
variable "instance_type" {
@ -19,8 +20,13 @@ variable "ami_id" {
default = "ami-000f1b0ad9d8ceafd"
}
variable "aws_region" {
description = "AWS region"
default = "us-east-1"
}
variable "hosted_zone_id" {
description = "Route53 hosted zone ID for dumpnet.chat"
description = "Route53 hosted zone ID"
}
variable "domain" {
@ -33,3 +39,13 @@ variable "dns_records" {
type = list(string)
default = ["argocd"]
}
variable "cert_manager_email" {
description = "Email for Let's Encrypt certificate notifications"
default = "dumpnetcerts@keane.sh"
}
variable "state_bucket" {
description = "S3 bucket for Terraform remote state (set in backend config, documented here for reference)"
default = "iankeane-tfstate"
}