This Terraform module setup an Ethereum monitoring solution based on https://github.com/cubedro/eth-netstats
module "eth-netstats" {
source = "Nuagic/eth-netstats/aws"
name = "eth-netstats"
vpc_id = "vpc-xxxxxx"
subnet_ids = ["subnet-yyyyyy", "subnet-zzzzzz"]
service_discovery_service = "srv-ssssss"
service_hostname = "eth-netstats.mynetwork.local"
nodes = {
node-1 = {
host = "ip-10-100-9-51.eu-west-1.compute.internal"
port = 8545
}
}
}
Name | Version |
---|---|
terraform | >= 0.14.0 |
aws | >= 3.55.0 |
local | >= 1.3 |
template | >= 2.0 |
Name | Version |
---|---|
aws | >= 3.55.0 |
random | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cpu | CPU | number |
1024 |
no |
create_ecs_cluster | Create ECS cluster | bool |
true |
no |
ecs_cluster | ECS cluster | string |
null |
no |
eth-net-intelligence-api_docker_image | eth-net-intelligence-api docker image | string |
"nuagic/eth-net-intelligence-api:latest" |
no |
ethstats_docker_image | EthStats docker image | string |
"nuagic/eth-netstats:latest" |
no |
ethstats_port | EthStats port | number |
80 |
no |
memory | Memory | number |
2048 |
no |
name | Resources name | string |
n/a | yes |
nodes | Node map | map(object({ host = string, port = number })) |
n/a | yes |
service_discovery_service | Service Discovery service id | string |
null |
no |
service_hostname | Service Discovery service hostname | string |
null |
no |
subnet_ids | Subnet IDs | list(string) |
n/a | yes |
tags | Resources tags | map(string) |
{} |
no |
vpc_id | VPC ID | string |
n/a | yes |
Name | Description |
---|---|
service_sg_id | The Amazon Resource Name (ARN) that identifies the service security group |