move pyrmont variables to pyrmont.tf
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
67ebb93be3
commit
2b4c2320ce
|
@ -0,0 +1,10 @@
|
||||||
|
locals {
|
||||||
|
/* Volumes */
|
||||||
|
pyrmont_root_vol_size = 20
|
||||||
|
pyrmont_data_vol_size = 150
|
||||||
|
pyrmont_data_vol_type = "io1"
|
||||||
|
pyrmont_data_vol_iops = 2000
|
||||||
|
/* Instances */
|
||||||
|
pyrmont_large_instance_type = "z1d.large"
|
||||||
|
pyrmont_small_instance_type = "t3a.medium"
|
||||||
|
}
|
|
@ -1,14 +1,3 @@
|
||||||
locals {
|
|
||||||
/* Volumes */
|
|
||||||
pyrmont_root_vol_size = 20
|
|
||||||
pyrmont_data_vol_size = 150
|
|
||||||
pyrmont_data_vol_type = "io1"
|
|
||||||
pyrmont_data_vol_iops = 2000
|
|
||||||
/* Instances */
|
|
||||||
pyrmont_large_instance_type = "z1d.large"
|
|
||||||
pyrmont_small_instance_type = "t3a.medium"
|
|
||||||
}
|
|
||||||
|
|
||||||
module "nimbus_nodes_pyrmont_stable_large" {
|
module "nimbus_nodes_pyrmont_stable_large" {
|
||||||
source = "github.com/status-im/infra-tf-amazon-web-services"
|
source = "github.com/status-im/infra-tf-amazon-web-services"
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,9 @@ module "nimbus_nodes_pyrmont_master_large" {
|
||||||
/* Scaling */
|
/* Scaling */
|
||||||
instance_type = "z1d.large"
|
instance_type = "z1d.large"
|
||||||
root_vol_size = 20
|
root_vol_size = 20
|
||||||
data_vol_size = 150
|
data_vol_size = local.pyrmont_data_vol_size
|
||||||
data_vol_type = "io1"
|
data_vol_type = local.pyrmont_data_vol_type
|
||||||
data_vol_iops = 2000
|
data_vol_iops = local.pyrmont_data_vol_iops
|
||||||
host_count = 2
|
host_count = 2
|
||||||
|
|
||||||
/* Firewall */
|
/* Firewall */
|
||||||
|
@ -38,9 +38,9 @@ module "nimbus_nodes_pyrmont_master_small" {
|
||||||
/* Scaling */
|
/* Scaling */
|
||||||
instance_type = "t3a.medium"
|
instance_type = "t3a.medium"
|
||||||
root_vol_size = 20
|
root_vol_size = 20
|
||||||
data_vol_size = 150
|
data_vol_size = local.pyrmont_data_vol_size
|
||||||
data_vol_type = "io1"
|
data_vol_type = local.pyrmont_data_vol_type
|
||||||
data_vol_iops = 2000
|
data_vol_iops = local.pyrmont_data_vol_iops
|
||||||
host_count = 4
|
host_count = 4
|
||||||
|
|
||||||
/* Firewall */
|
/* Firewall */
|
||||||
|
@ -66,9 +66,9 @@ module "nimbus_nodes_pyrmont_devel_large" {
|
||||||
/* Scaling */
|
/* Scaling */
|
||||||
instance_type = "z1d.large"
|
instance_type = "z1d.large"
|
||||||
root_vol_size = 20
|
root_vol_size = 20
|
||||||
data_vol_size = 150
|
data_vol_size = local.pyrmont_data_vol_size
|
||||||
data_vol_type = "io1"
|
data_vol_type = local.pyrmont_data_vol_type
|
||||||
data_vol_iops = 2000
|
data_vol_iops = local.pyrmont_data_vol_iops
|
||||||
host_count = 2
|
host_count = 2
|
||||||
|
|
||||||
/* Firewall */
|
/* Firewall */
|
||||||
|
@ -94,9 +94,9 @@ module "nimbus_nodes_pyrmont_devel_small" {
|
||||||
/* Scaling */
|
/* Scaling */
|
||||||
instance_type = "t3a.medium"
|
instance_type = "t3a.medium"
|
||||||
root_vol_size = 20
|
root_vol_size = 20
|
||||||
data_vol_size = 150
|
data_vol_size = local.pyrmont_data_vol_size
|
||||||
data_vol_type = "io1"
|
data_vol_type = local.pyrmont_data_vol_type
|
||||||
data_vol_iops = 2000
|
data_vol_iops = local.pyrmont_data_vol_iops
|
||||||
host_count = 4
|
host_count = 4
|
||||||
|
|
||||||
/* Firewall */
|
/* Firewall */
|
||||||
|
@ -122,9 +122,9 @@ module "nimbus_nodes_pyrmont_libp2p_small" {
|
||||||
/* Scaling */
|
/* Scaling */
|
||||||
instance_type = "t3a.medium"
|
instance_type = "t3a.medium"
|
||||||
root_vol_size = 20
|
root_vol_size = 20
|
||||||
data_vol_size = 150
|
data_vol_size = local.pyrmont_data_vol_size
|
||||||
data_vol_type = "io1"
|
data_vol_type = local.pyrmont_data_vol_type
|
||||||
data_vol_iops = 2000
|
data_vol_iops = local.pyrmont_data_vol_iops
|
||||||
host_count = 2
|
host_count = 2
|
||||||
|
|
||||||
/* Firewall */
|
/* Firewall */
|
||||||
|
|
Loading…
Reference in New Issue