hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
401 stars 488 forks source link

Allow client_addr to be passed in as a param to run-consul #147

Closed schledererj closed 5 years ago

schledererj commented 5 years ago

Currently, the config file that the run-consul script generates has the client_addr hard-coded to 0.0.0.0. I would like to set my client_addr to 127.0.0.1 to restrict access to the UI to localhost only (and have an nginx reverse proxy running on the same host that can handle authentication and presenting a client certificate). Can we update the script to have a --client-addr param that defaults to 0.0.0.0?

brikis98 commented 5 years ago

Could you override the generated config?

schledererj commented 5 years ago

Ah, looks like I missed that in the documentation :/ We'll just do that. Thanks!