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-22 20:03:28 +00:00
|
|
|
variable "digitalocean_token" {
|
|
|
|
description = "Token for interacting with DigitalOcean API."
|
2019-03-20 12:35:10 +00:00
|
|
|
}
|
|
|
|
|
2019-07-29 02:35:57 +00:00
|
|
|
variable "alicloud_access_key" {
|
2019-03-20 12:35:10 +00:00
|
|
|
description = "Alibaba Cloud API access key."
|
|
|
|
}
|
|
|
|
|
2019-07-29 02:35:57 +00:00
|
|
|
variable "alicloud_secret_key" {
|
2019-03-20 12:35:10 +00:00
|
|
|
description = "Alibaba Cloud API secret key."
|
|
|
|
}
|
|
|
|
|
2019-07-29 02:35:57 +00:00
|
|
|
variable "alicloud_region" {
|
2019-03-20 12:35:10 +00:00
|
|
|
description = "Alibaba Cloud hosting region."
|
|
|
|
default = "cn-hongkong"
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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" {
|
2019-03-21 12:27:16 +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
|
|
|
}
|