add 40 GB extra data volume for 30 days of history

https://github.com/status-im/infra-status/issues/19

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-09-21 10:59:58 +02:00
parent a314839ddc
commit 6e1c4d7e84
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,12 @@ module "hosts" {
ac_type = local.ws["ac_type"] /* Alibaba Cloud */
gc_type = local.ws["gc_type"] /* Google Cloud */
/* data volumes */
ac_data_vol_size = var.data_volume_size
do_data_vol_size = var.data_volume_size
gc_data_vol_size = var.data_volume_size
/* firewall */
open_tcp_ports = [
"30303", /* p2p main */

View File

@ -3,3 +3,9 @@ variable "domain" {
type = string
default = "statusim.net"
}
variable "data_volume_size" {
description = "Size of extra data volumes for nodes in GB"
type = number
default = 40
}