hashicorp / terraform-aws-consul

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

config flag telemetry { disable_compat_1.9 = (true|false) } has been removed. #252

Open mrjjones opened 1 year ago

mrjjones commented 1 year ago

Describe the bug A clear and concise description of what the bug is. This is repo is incompatible with the latest version of consul

telemetry: config flag telemetry { disable_compat_1.9 = (true|false) } has been removed. Before upgrading you should remove this flag from your config if the flag is being used.

https://github.com/hashicorp/terraform-aws-consul/blob/master/modules/run-consul/run-consul lines 131-133 need to be removed.

To reproduce:

Run the example as given in the repo. Consul will not start up. Error is "Sep 20 01:13:52 ip-10-3-156-0 consul[2540]: ==> failed to parse /opt/consul/config/default.json: 1 error occurred: Sep 20 01:13:52 ip-10-3-156-0 consul[2540]: * invalid config key telemetry.disable_compat_1.9 Sep 20 01:13:52 ip-10-3-156-0 systemd[1]: consul.service: Main process exited, code=exited, status=1/FAILURE "