Skip to content

Commit f5b7dcc

Browse files
committed
Make aggregator terraform use cexplorer list
1 parent 924a3d0 commit f5b7dcc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

mithril-infra/mithril.aggregator.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ EOT
5858
"export ERA_READER_ADAPTER_TYPE='${var.mithril_era_reader_adapter_type}'",
5959
"export ERA_READER_ADAPTER_PARAMS=$(jq -nc --arg address $(wget -q -O - ${var.mithril_era_reader_address_url}) --arg verification_key $(wget -q -O - ${var.mithril_era_reader_verification_key_url}) '{\"address\": $address, \"verification_key\": $verification_key}')",
6060
"export ERA_READER_SECRET_KEY='${var.mithril_era_reader_secret_key}'",
61+
"export CEXPLORER_POOLS_URL='${var.mithril_aggregator_cexplorer_pools_url}'",
6162
"export LOGGING_DRIVER='${var.mithril_container_logging_driver}'",
6263
"export AUTH_USER_PASSWORD=$(htpasswd -nb ${var.mithril_aggregator_auth_username} ${var.mithril_aggregator_auth_password})",
6364
"export CURRENT_UID=$(id -u)",

mithril-infra/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ variable "mithril_aggregator_auth_password" {
208208
default = ""
209209
}
210210

211+
variable "mithril_aggregator_cexplorer_pools_url" {
212+
type = string
213+
description = "The CExplorer url of the list of pools that is used by the mithril aggregator"
214+
default = ""
215+
}
216+
211217
variable "prometheus_auth_username" {
212218
type = string
213219
description = "The username for authentication on local prometheus endpoint"

0 commit comments

Comments
 (0)