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

Increase timeout on systemd config #148

Closed Etiene closed 5 years ago

Etiene commented 5 years ago

After #146, systemd now waits for consul's notification of having joined the cluster before signaling that the service is alive. This however may occasionally result in larger waiting times and intermittent timeout failures.

The following error was observed in the terraform-aws-vault logs: Job for consul.service failed because a timeout was exceeded. See "systemctl status consul.service" and "journalctl -xe" for details.

As a remedy, this PR raises the timeout from 90s (the default) to a more reasonable 300s.