Created
September 3, 2019 17:15
-
-
Save cruftyoldsysadmin/7cfc543e846b231f45675747c2e4b14a to your computer and use it in GitHub Desktop.
Simple example of rich value types.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "route53_records_logshell" { | |
description = "logshell.io records" | |
type = map(object({ | |
name = string | |
ttl = number | |
records = list(string) | |
type = string | |
})) | |
default = { | |
dev = { | |
name = "dev.logshell.io" | |
ttl = 60 | |
records = ["127.0.0.1"] | |
type = "A" | |
zone_id = "1" | |
} | |
my = { | |
name = "my.logshell.io" | |
ttl = 60 | |
records = ["127.0.0.1"] | |
type = "A" | |
zone_id = "1" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment