opentofu/backend
James Bardin fd9adcdb36 only init one consul client, and lower keepalive
The consul Client is analogous to an http.Client, and we really don't
need more than 1. Configure a single client and store it in the backend.

Replace the default Transport's Dialer to reduce the KeepAlive setting
from 30s to 17s. This avoids racing with the common network timeout
value of 30s, and is also coprime to other common intervals.
2017-10-08 11:51:35 -04:00
..
atlas backend/atlas: accept ATLAS_ADDRESS env var for address 2017-03-16 23:04:07 -07:00
init Make 'gofmt' happy. 2017-09-08 10:22:58 +01:00
legacy Make backcend/legacy match new Backend iface 2017-02-28 16:35:45 -05:00
local Merge pull request #16070 from octo/defaultdatadir 2017-10-02 16:27:23 -04:00
remote-state only init one consul client, and lower keepalive 2017-10-08 11:51:35 -04:00
backend.go command: also print plan for destroy 2017-06-27 11:22:31 -07:00
cli.go cli: allow disabling "next steps" message in terraform plan 2017-09-14 10:51:41 -07:00
nil_test.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
nil.go Update Backend interface to latest iteration 2017-02-28 16:07:07 -05:00
operation_type.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operationtype_string.go Fix stringer comments (#15069) 2017-06-05 10:17:35 +01:00
testing.go Obtaining the current metadata before setting it 2017-09-06 12:41:05 -07:00