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 -----------------------------------------*/
|
/* DATA -----------------------------------------*/
|
||||||
|
|
||||||
terraform {
|
terraform {
|
||||||
backend "s3" {
|
backend "consul" {
|
||||||
bucket = "tf-state-infra-nimbus"
|
address = "https://consul.statusim.net:8400"
|
||||||
key = "infra-dapps"
|
/* Lock to avoid syncing issues */
|
||||||
region = "eu-central-1"
|
lock = true
|
||||||
encrypt = 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