You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
An [http backend](https://www.terraform.io/docs/backends/types/http.html) which stores and retrieves tfstates files in a secure and encrypted way through [credhub](https://github.com/cloudfoundry-incubator/credhub).
4
4
5
+
When file is too large for database use in credhub, file will be split in part and gzipped to be sent to credhub and rebuild final file when retrieving from credhub.
6
+
5
7
This backend supports [state locking](https://www.terraform.io/docs/state/locking.html).
6
8
7
9
## Boshrelease
@@ -67,7 +69,8 @@ There is two different ways to run the server:
67
69
```yaml
68
70
host: 0.0.0.0 # an be 127.0.0.1 too
69
71
port: 8080# port to listen
70
-
name: terraform-secure # this name inside credhub to create an unique path for your tfstate
72
+
chunk_size: ~ # Chunk size in number of bytes to split your tfstate inside credhub to leverage database limit (Default: 60000)
73
+
base_path: /terraform-secure-backend/tfstate/pouet # Create an unique path for your tfstate on credhub
71
74
cert: ~ # Set a path or pem cert string certificate to run your senver in tls (ignored if lets_encrypt_domains is set)
72
75
key: ~ # Set a path or pem key string certificate to run your senver in tls (ignored if lets_encrypt_domains is set)
73
76
log_level: ~ # Verbosity, can be info, debug, warning, error
0 commit comments