hashicorp / terraform-provider-consul

Terraform Consul provider
https://www.terraform.io/docs/providers/consul/
Mozilla Public License 2.0
124 stars 113 forks source link

Documents disabling deregister_critical_service_after #409

Closed nickwales closed 1 month ago

nickwales commented 2 months ago

The deregister_critical_service_after feature is not created by default via the API, however it is defaulted to 30s in the terraform provider. For users not wanting to use this feature we can pass a value that Consul will disable it.

It is noted in the consul codebase that setting this to a value less than 1 will disable however it will cause a warn level log entry here: https://github.com/hashicorp/consul/blob/cec66f07431191f8ddab5b74de15db36b34c9055/agent/agent.go#L3442