hashicorp/terraform-aws-consul

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

Opened this issue · 0 comments

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
"