Jeff Mitchell 22e06c05e8 Convert listener arguments to map[string]interface{} (#2905)
This allows people to use more natural constructs, e.g. for tls_disable
it can be a bool, int, or string.
2017-06-22 20:29:53 +01:00

31 lines
509 B
HCL

disable_cache = true
disable_mlock = true
ui = true
listener "tcp" {
address = "127.0.0.1:443"
}
backend "consul" {
foo = "bar"
advertise_addr = "foo"
}
ha_backend "consul" {
bar = "baz"
advertise_addr = "snafu"
disable_clustering = "true"
}
telemetry {
statsd_address = "bar"
statsite_address = "foo"
dogstatsd_addr = "127.0.0.1:7254"
dogstatsd_tags = ["tag_1:val_1", "tag_2:val_2"]
}
max_lease_ttl = "10h"
default_lease_ttl = "10h"
cluster_name = "testcluster"