Commit 65221c09 authored by Mike Horwath's avatar Mike Horwath
Browse files

requires list of lists

parent 6f05fba2
......@@ -11,6 +11,7 @@ This module supports:
- IPv6 records both proxied and non-proxy
- SPF records
- TXT records
- MX records (requires a list of lists and not a map)
## usage example
your `example.tf` file
......@@ -73,6 +74,21 @@ spf_records = {
"example.com" = "v=spf1 -all"
"www" = "v=spf1 -all"
}
mx_10_records = [
["example.com", "mx1.example.com"],
["example.com", "mx1.example.com"],
["example.com", "mx1.example.com"],
["example.com", "mx1.example.com"],
]
mx_15_1_records = []
mx_15_2_records = []
mx_20_1_records = []
mx_20_2_records = []
```
## example command lines
......
......@@ -46,23 +46,23 @@ variable "mx_10_records" {
}
variable "mx_15_1_records" {
type = "map"
default = {}
type = "list"
default = []
}
variable "mx_15_2_records" {
type = "map"
default = {}
type = "list"
default = []
}
variable "mx_20_1_records" {
type = "map"
default = {}
type = "list"
default = []
}
variable "mx_20_2_records" {
type = "map"
default = {}
type = "list"
default = []
}
# requires further investigation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment