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