2019-03-20 13:35:10 +01:00
|
|
|
/* REQUIRED -------------------------------------*/
|
|
|
|
|
2020-01-22 21:03:28 +01:00
|
|
|
variable "cloudflare_email" {
|
|
|
|
description = "Email address of Cloudflare account."
|
2019-03-20 13:35:10 +01:00
|
|
|
}
|
|
|
|
|
2020-01-22 21:03:28 +01:00
|
|
|
variable "cloudflare_token" {
|
|
|
|
description = "Token for interacting with Cloudflare API."
|
2019-03-20 13:35:10 +01:00
|
|
|
}
|
|
|
|
|
2020-01-22 21:03:28 +01:00
|
|
|
variable "cloudflare_account" {
|
|
|
|
description = "ID of the CloudFlare organization."
|
2019-03-20 13:35:10 +01:00
|
|
|
}
|
|
|
|
|
2020-01-27 15:09:21 +01:00
|
|
|
variable "aws_access_key" {
|
|
|
|
description = "Access key for the AWS API."
|
2019-03-20 13:35:10 +01:00
|
|
|
}
|
|
|
|
|
2020-01-27 15:09:21 +01:00
|
|
|
variable "aws_secret_key" {
|
|
|
|
description = "Secret key for the AWS API."
|
2019-03-20 13:35:10 +01:00
|
|
|
}
|
|
|
|
|
2020-01-27 15:09:21 +01:00
|
|
|
variable "aws_zone" {
|
|
|
|
description = "Name of the AWS Availability Zone."
|
|
|
|
default = "eu-central-1"
|
2019-03-20 13:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* GENERAL --------------------------------------*/
|
|
|
|
|
2019-07-28 22:35:57 -04:00
|
|
|
variable "public_domain" {
|
2019-03-20 13:35:10 +01:00
|
|
|
description = "Domain under which the public sites go."
|
|
|
|
default = "status.im"
|
|
|
|
}
|
|
|
|
|
2019-07-28 22:35:57 -04:00
|
|
|
variable "domain" {
|
2019-03-20 13:35:10 +01:00
|
|
|
description = "DNS Domain to update"
|
|
|
|
default = "statusim.net"
|
|
|
|
}
|
2019-03-21 13:27:16 +01:00
|
|
|
|
|
|
|
/* RESOURCES ------------------------------------*/
|
|
|
|
|
2019-07-28 22:35:57 -04:00
|
|
|
variable "hosts_count" {
|
2020-02-03 12:00:27 +01:00
|
|
|
description = "Count of hosts in nimbus cluster."
|
2019-03-21 16:31:40 +01:00
|
|
|
default = 9
|
2019-03-21 13:27:16 +01:00
|
|
|
}
|
2020-02-03 12:00:27 +01:00
|
|
|
|
|
|
|
variable "log_stores_count" {
|
|
|
|
description = "Count of ElasticSearch cluster hosts."
|
|
|
|
default = 3
|
|
|
|
}
|