open-nomad/e2e/terraform/shared/consul/consul.json
Tim Gross 3e9ae481ce
e2e: refactor Consul configurations (#6559)
Ensure that we're reusing the base configuration between client and
servers without the possibility of drift. Reduce the amount of `sed`
mangling of the configuration file, and make recommended changes from
`shellcheck` for this section of the provisioning script.

Fixes some rebase errors on the Nomad config as well.
2019-10-28 09:27:40 -04:00

21 lines
372 B
JSON

{
"log_level": "INFO",
"server": true,
"ui": true,
"data_dir": "/opt/consul/data",
"bind_addr": "0.0.0.0",
"client_addr": "0.0.0.0",
"advertise_addr": "{{ GetPrivateIP }}",
"bootstrap_expect": SERVER_COUNT,
"service": {
"name": "consul"
},
"retry_join": ["RETRY_JOIN"],
"connect": {
"enabled": true
},
"ports": {
"grpc": 8502
}
}