95 lines
2.1 KiB
HCL
95 lines
2.1 KiB
HCL
variable "key_name" {
|
|
description = "The name of the SSH key to use with EC2 hosts"
|
|
default = "poa"
|
|
}
|
|
|
|
variable "vpc_cidr" {
|
|
description = "Virtual Private Cloud CIDR block"
|
|
default = "10.0.0.0/16"
|
|
}
|
|
|
|
variable "public_subnet_cidr" {
|
|
description = "The CIDR block for the public subnet"
|
|
default = "10.0.0.0/24"
|
|
}
|
|
|
|
variable "db_subnet_cidr" {
|
|
description = "The CIDR block for the database subnet"
|
|
default = "10.0.1.0/16"
|
|
}
|
|
|
|
variable "dns_zone_name" {
|
|
description = "The internal DNS name"
|
|
default = "poa.internal"
|
|
}
|
|
|
|
variable "instance_type" {
|
|
description = "The EC2 instance type to use for app servers"
|
|
default = "m5.xlarge"
|
|
}
|
|
|
|
variable "chains" {
|
|
description = "A map of chain names to urls"
|
|
|
|
default = {
|
|
"sokol" = "https://sokol-trace.poa.network"
|
|
}
|
|
}
|
|
|
|
variable "chain_trace_endpoints" {
|
|
description = "A map of chain names to trace urls"
|
|
|
|
default = {
|
|
"sokol" = "https://sokol-trace.poa.network"
|
|
}
|
|
}
|
|
|
|
# RDS/Database configuration
|
|
variable "db_id" {
|
|
description = "The identifier for the RDS database"
|
|
default = "poa"
|
|
}
|
|
|
|
variable "db_name" {
|
|
description = "The name of the database associated with the application"
|
|
default = "poa"
|
|
}
|
|
|
|
variable "db_username" {
|
|
description = "The name of the user which will be used to connect to the database"
|
|
default = "poa"
|
|
}
|
|
|
|
variable "db_password" {
|
|
description = "The password associated with the database user"
|
|
}
|
|
|
|
variable "db_storage" {
|
|
description = "The database storage size in GB"
|
|
default = "20"
|
|
}
|
|
|
|
variable "db_storage_type" {
|
|
description = "The type of database storage to use: magnetic, gp2, io1"
|
|
default = "gp2"
|
|
}
|
|
|
|
variable "db_instance_class" {
|
|
description = "The instance class of the database"
|
|
default = "db.m4.large"
|
|
}
|
|
|
|
variable "secret_key_base" {
|
|
description = "The secret key base to use for Explorer"
|
|
}
|
|
|
|
variable "new_relic_app_name" {
|
|
description = "The name of the application in New Relic"
|
|
default = ""
|
|
}
|
|
|
|
variable "new_relic_license_key" {
|
|
description = "The license key for talking to New Relic"
|
|
default = ""
|
|
}
|