This module's purpose is to automatically deploy an EC2 to AWS and have it configure itself to be a node in the MASQ Network (masq.ai)
We assume you have some working knowledge of Terraform to consume this module.
module "masq_node" {
source = "github.com/MASQ-Project/terraform-aws-masq-server?ref=v1.0.0"
conkey = "e5fasdfsadf9fdasdfasdf8290ebb915981easdfasdfasdfasd2dfcasdfasdf497ccff72876f"
earnwallet = "0xC7asd84fbasdfasdfasdf791C333F6c776421d0"
}
No requirements.
Name | Version |
---|---|
aws | n/a |
random | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
bcsurl | The url of the blockchain service. This defaults to ropsten url. | string |
"https://ropsten.infura.io/v3/0ead23143b174f6983c76f69ddcf4026" |
no |
chain | The name of the blockchain to use, mainnet and ropsten are the only valid options. | string |
"ropsten" |
no |
clandestine_port | This is the port you want MASQ to listen on for clandestine traffic. This will be used for your config.toml and SG settings. | number |
null |
no |
conkey | The private key to sign consuming transactions. | string |
n/a | yes |
dbpass | The password you would like to use for the MASQ DB. | string |
"node" |
no |
dnsservers | The DNS servers to use to resolve URLs for requests. | string |
"1.0.0.1,1.1.1.1,8.8.8.8,9.9.9.9" |
no |
earnwallet | The wallet address used for storing payments for services. | string |
n/a | yes |
gasprice | The gas price you are willing to pay to settle transactions. | number |
50 |
no |
instance_role | The name of the Instance Role you want to use, shouldn't need to be set unless you are doing something custom. | string |
"" |
no |
instance_type | The instance type you would like to deploy. | string |
"t3.micro" |
no |
key_name | The name of the AWS Key Pair you want to use. | string |
"" |
no |
name | The name you would like to give the instance. This is purely for use inside of AWS, it won't show on the MASQ Network. | string |
"MASQNode" |
no |
subnet_id | The subnet that you want the instance to deploy to, if you don't supply one, it will grab one from your VPC automatically. | string |
"" |
no |
vpc_id | The VPC ID if you are not using default VPC. | string |
"" |
no |
Name | Description |
---|---|
public_ip | n/a |