Add network navigation and network icon
This commit is contained in:
parent
0d5bc8130d
commit
54c3940111
|
@ -101,6 +101,22 @@ variable "chain_subnetwork" {
|
|||
}
|
||||
}
|
||||
|
||||
variable "chain_network_icon" {
|
||||
description = "A map of chain names to the network iconn"
|
||||
|
||||
default = {
|
||||
"sokol" = "%{\"POA Core\" => \"https://blockscout.com/poa/core\", \"POA Sokol\" => \"https://blockscout.com/poa/sokol\"}"
|
||||
}
|
||||
}
|
||||
|
||||
variable "chain_network_navigation" {
|
||||
description = "A map of chain names to the network navigation"
|
||||
|
||||
default = {
|
||||
"sokol" = "_test_network_icon.html"
|
||||
}
|
||||
}
|
||||
|
||||
# RDS/Database configuration
|
||||
variable "db_id" {
|
||||
description = "The identifier for the RDS database"
|
||||
|
|
|
@ -88,6 +88,20 @@ resource "aws_ssm_parameter" "subnetwork" {
|
|||
type = "String"
|
||||
}
|
||||
|
||||
resource "aws_ssm_parameter" "network_icon" {
|
||||
count = "${length(var.chains)}"
|
||||
name = "/${var.prefix}/${element(keys(var.chain_network_icon),count.index)}/network_icon"
|
||||
value = "${element(values(var.chain_network_icon), count.index)}"
|
||||
type = "String"
|
||||
}
|
||||
|
||||
resource "aws_ssm_parameter" "network_navigation" {
|
||||
count = "${length(var.chains)}"
|
||||
name = "/${var.prefix}/${element(keys(var.chain_network_navigation),count.index)}/network_navigation"
|
||||
value = "${element(values(var.chain_network_navigation), count.index)}"
|
||||
type = "String"
|
||||
}
|
||||
|
||||
resource "aws_ssm_parameter" "exq_blocks_concurrency" {
|
||||
count = "${length(var.chains)}"
|
||||
name = "/${var.prefix}/${element(keys(var.chains),count.index)}/exq_blocks_concurrency"
|
||||
|
|
Loading…
Reference in New Issue