mirror of
https://github.com/jimeh/terraform-cloudflare-email.git
synced 2026-02-18 17:36:40 +00:00
fix(docs): correctly describe mx variable
This commit is contained in:
@@ -89,7 +89,7 @@ No modules.
|
||||
| <a name="input_mta_sts_max_age"></a> [mta_sts_max_age](#input_mta_sts_max_age) | Maximum lifetime of the policy in seconds, up to 31557600, defaults to 604800 (1 week) | `number` | `604800` | no |
|
||||
| <a name="input_mta_sts_mode"></a> [mta_sts_mode](#input_mta_sts_mode) | MTA policy mode, https://tools.ietf.org/html/rfc8461#section-5 | `string` | `"testing"` | no |
|
||||
| <a name="input_mta_sts_mx"></a> [mta_sts_mx](#input_mta_sts_mx) | Additional permitted MX hosts for the MTA STS policy. | `list(string)` | `[]` | no |
|
||||
| <a name="input_mx"></a> [mx](#input_mx) | A map representing the MX records. Key is the priority and value is the mail server hostname. | `map(number)` | n/a | yes |
|
||||
| <a name="input_mx"></a> [mx](#input_mx) | A map representing the MX records. Key is the mail server hostname and value is the priority. | `map(number)` | n/a | yes |
|
||||
| <a name="input_mx_subdomains"></a> [mx_subdomains](#input_mx_subdomains) | List of sub-domains to also apply MX records to. | `list(string)` | `[]` | no |
|
||||
| <a name="input_record_ttl"></a> [record_ttl](#input_record_ttl) | TTL for DNS records. `1` is auto. Default is `1`. | `number` | `1` | no |
|
||||
| <a name="input_spf_terms"></a> [spf_terms](#input_spf_terms) | List of SPF terms that should be included in the SPF TXT record. | `list(string)` | <pre>[<br> "mx",<br> "a",<br> "~all"<br>]</pre> | no |
|
||||
|
||||
@@ -25,7 +25,7 @@ variable "record_ttl" {
|
||||
|
||||
variable "mx" {
|
||||
type = map(number)
|
||||
description = "A map representing the MX records. Key is the priority and value is the mail server hostname."
|
||||
description = "A map representing the MX records. Key is the mail server hostname and value is the priority."
|
||||
|
||||
validation {
|
||||
condition = length(var.mx) > 0
|
||||
|
||||
Reference in New Issue
Block a user