Files
fleet-terraform/addons/ses/variables.tf
T
Jorge Falcon 0166b67f74 Add custom domain support to SES module (#86)
- Added variable to drive custom mail from configuration
- Added resource for MX record to a specific route 53 zone, if custom
mail value from is enabled
- Add SPF record to local.spf_records list, if custom mail value from is
enabled. Current spf resource takes care of
  - Creating the record if the value is present
- Destroying the record if the value is not present (when disabled or
variable is not set)
2025-08-07 17:13:18 -04:00

28 lines
597 B
Terraform

variable "domain" {
type = string
description = "Domain to use for SES."
}
variable "zone_id" {
type = string
description = "Route53 Zone ID"
}
variable "extra_txt_records" {
type = list(string)
description = "Extra TXT records that have to match the same name as the Fleet instance"
default = []
}
variable "custom_mail_from" {
type = object({
enabled = optional(bool, false)
domain_prefix = optional(string, "")
})
default = {
enabled = false
domain_prefix = ""
}
description = "Custom MAIL FROM domain settings"
}