infra/terraform/variables.tf
Jeremie Fraeys 9668b6f84e
chore(infra): add Postmark DNS records and update example secrets
- Add DKIM, return-path (CNAME), and DMARC DNS records to Terraform
- Add example variables for Postmark integration to vault.example.yml
- Update .gitignore patterns
2026-03-06 10:32:08 -05:00

134 lines
2.1 KiB
HCL

variable "linode_token" {
type = string
sensitive = true
}
variable "region" {
type = string
default = "ca-central"
}
variable "instance_type" {
type = string
default = "g6-nanode-1"
}
variable "image" {
type = string
default = "linode/debian13"
}
variable "ssh_public_key" {
type = string
}
variable "root_pass" {
type = string
sensitive = true
}
variable "web_label" {
type = string
default = "web"
}
variable "services_label" {
type = string
default = "services"
}
variable "user" {
type = string
default = "ansible"
}
variable "user_password" {
type = string
sensitive = true
}
variable "group" {
type = string
default = ""
}
variable "ssh_port" {
type = number
default = 22
}
variable "timezone" {
type = string
default = "America/Toronto"
}
variable "add_cloudflare_ips" {
type = bool
default = false
}
variable "cloudflare_api_token" {
type = string
sensitive = true
default = ""
}
variable "cloudflare_zone_id" {
type = string
default = ""
}
variable "enable_cloudflare_dns" {
type = bool
default = false
}
variable "enable_services_wildcard" {
type = bool
default = false
}
variable "cloudflare_ttl" {
type = number
default = 300
}
variable "cloudflare_proxied" {
type = bool
default = false
}
variable "object_storage_bucket" {
type = string
default = ""
}
variable "object_storage_region" {
type = string
default = "us-east-1"
}
variable "dkim_hostname" {
description = "DKIM record hostname including _domainkey suffix (e.g., 'default._domainkey')"
type = string
default = ""
}
variable "dkim_value" {
description = "DKIM public key base64 value (without v=DKIM1; k=rsa; p= prefix)"
type = string
default = ""
sensitive = true
}
variable "return_path_target" {
description = "Return path CNAME target for bounce handling"
type = string
default = ""
}
variable "dmarc_rua_email" {
description = "Email address for DMARC aggregate reports"
type = string
default = ""
}