backend/remote-state/consul: Make gzip compression configurable (#8491)

This commit is contained in:
Christoffer Kylvåg
2017-03-13 08:17:33 +01:00
parent e098c7c24a
commit abfa35db7c
4 changed files with 14 additions and 3 deletions

View File

@@ -53,3 +53,4 @@ The following configuration options / environment variables are supported:
* `datacenter` - (Optional) The datacenter to use. Defaults to that of the agent.
* `http_auth` / `CONSUL_HTTP_AUTH` - (Optional) HTTP Basic Authentication credentials to be used when
communicating with Consul, in the format of either `user` or `user:pass`.
* `gzip` - (Optional) `true` to compress the state data using gzip, or `false` (the default) to leave it uncompressed.