polygon-technology-edge

aws-ia/polygon-technology-edge/aws

Terraform Module HCL AWS ✓ Verified

Polygon Edge Terraform module for building Ethereum-compatible blockchain networks in the AWS Cloud

Install
module "polygon-technology-edge" {
source = "aws-ia/polygon-technology-edge/aws"
version = "0.0.4"
}
⭐ Source on GitHub 📦 Registry page
README

Polygon Edge AWS Terraform Polygon Edge is a modular and extensible framework for building Ethereum-compatible blockchain networks. To find out more about Polygon, visit the official website. Documentation 📝 If you'd like to learn more about the Polygon Edge, how it works and how you can use it for your project, please check out the Polygon Edge Documentation. Terraform deployment This is a fully automated Polygon Edge blockchain infrastructure deployment for AWS cloud provider. High level overview of the resources that will be deployed: Dedicated VPC 4 validator nodes (which are also boot nodes) 4 NAT gateways to allow nodes outbound internet traffic Lambda function used for generating the first (genesis) block and starting the chain Dedicated security groups and IAM roles S3 bucket used

Inputs (39)
NameTypeDescriptionDefault
alb_ssl_certificatestringSSL certificate ARN for JSON-RPC loadblancer required
preminestringPremine the accounts with the specified ammount. Format: account:ammount,account required
lambda_function_zipstringThe lambda function code in zip archive"https://raw.githubusercontent.com/Trape
vpc_cidr_blockstringCIDR block for VPC"10.250.0.0/16"
instance_typestringPolygon Edge nodes instance type."t3.medium"
node_name_prefixstringThe name prefix that will be used to store secrets"node"
max_slotsstringSets maximum slots in the pool""
nodes_alb_name_prefixstringALB name"jrpc-"
nat_addressstringSets the NAT address for the networking package""
s3_bucket_prefixstringName prefix for new S3 bucket"polygon-edge-shared-"
s3_force_destroyboolDelete S3 bucket on destroy, even if the bucket is not emptytrue
alb_sec_gr_name_tagstringExternal security group name tag"Polygon Edge External"
instance_namestringThe name of Polygon Edge instance"Polygon_Edge_Node"
instance_interface_name_tagstringThe name of the instance interface."Polygon_Edge_Instance_Interface"
nodes_alb_targetgroup_name_prefixstringALB target group name"jrpc-"
ssm_parameter_idstringThe id that will be used for storing and fetching from SSM Parameter Store"polygon-edge-validators"
polygon_edge_dirstringThe directory to place all polygon-edge data and logs"/home/ubuntu/polygon"
chain_idstringSet the Chain ID""
prometheus_addressstringEnable Prometheus API""
price_limitstringSets minimum gas price limit to enforce for acceptance into the pool""
vpc_namestringName of the VPC"polygon-edge-vpc"
chain_data_ebs_name_tagstringThe name of the chain data EBS volume."Polygon_Edge_chain_data_volume"
Outputs (1)
jsonrpc_dns_name — The dns name for the JSON-RPC API
Resources (1)
null_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.4
Cloud AWS
★ Stars23
Forks16
Total downloads4.1k
Inputs39
Outputs1
Resources1
Examples1
Submodules4
LicenseApache-2.0
Namespaceaws-ia
Updated