main: switch data backend to consul
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e7e20b2943
commit
2f002c08b5
16
main.tf
16
main.tf
|
@ -16,11 +16,17 @@ provider "cloudflare" {
|
|||
/* DATA -----------------------------------------*/
|
||||
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "tf-state-infra-nimbus"
|
||||
key = "infra-dapps"
|
||||
region = "eu-central-1"
|
||||
encrypt = true
|
||||
backend "consul" {
|
||||
address = "https://consul.statusim.net:8400"
|
||||
/* Lock to avoid syncing issues */
|
||||
lock = true
|
||||
/* KV store has a limit of 512KB */
|
||||
gzip = true
|
||||
/* WARNING This needs to be changed for every repo. */
|
||||
path = "terraform/nimbus/"
|
||||
ca_file = "ansible/files/consul-ca.crt"
|
||||
cert_file = "ansible/files/consul-client.crt"
|
||||
key_file = "ansible/files/consul-client.key"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue