Files
Jorge Falcon a1778b2e3a Updates SES module to support toggling policy creation on and off (#129)
- Addded variable `create_iam_policy` to drive policy creation. Defaults
to `true`
2025-10-31 16:08:41 -04:00

33 lines
751 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"
}
variable "create_iam_policy" {
type = bool
default = true
description = "Create IAM policy for the SES email sending. (Default: true)"
}