terraform-google-nomad
terraform-google-nomad copied to clipboard
Consul configuration defines unused options in server and client
Client agents do not need to enable connect, this is only used on servers:
Enabling Connect requires changing the configuration of only your Consul servers (not client agents).
https://github.com/picatz/terraform-google-nomad/blob/0db159e7c90367553c3c9b61c3a892418d686e36/packer/configs/consul/client.hcl#L30-L32
Servers do not need to enable the gRPC port, this is only used on clients:
https://github.com/picatz/terraform-google-nomad/blob/0db159e7c90367553c3c9b61c3a892418d686e36/packer/configs/consul/server.hcl#L17
There might be others, but these should definitely be removed.
Hi,I would like to contribute
👋 Hello @lordsonfernando, PRs are welcome!