ethereum-geth

4ops/ethereum-geth/digitalocean

Terraform Module HCL DIGITALOCEAN

Create Ethereum full node with geth

Install
module "ethereum-geth" {
source = "4ops/ethereum-geth/digitalocean"
version = "1.0.3"
}
plain text: /constructs/tfmod-4ops-ethereum-geth-digitalocean/install.txt
⭐ Source on GitHub 📦 Registry page
README

Ethereum Geth - Creates virtual server(s) with docker - Creates cloud volume(s) and mount to /srv - Register server(s) in domain var.domain - Creates cloud firewall and apply network policy to server(s) - Deploy geth in /srv/ethereum Components _Geth_ Official Go implementation of the Ethereum protocol. - Official website - Docker image Cloud resources - DigitalOcean droplet - DigitalOcean volume - DigitalOcean cloud firewall Default firewall rules Incoming - Allow SSH from var.trusted_sources Outgoing - Allow tcp to world - Allow udp to world - Allow icmp to world

Inputs (31)
NameTypeDescriptionDefault
regionstringRequired. DigitalOcean region for droplet creation. required
trusted_sourceslistRequired. IP list to allow SSH and bitcoin rpc connections from. required
testnetboolUse `ropsten` network or main if `false`. true
maxpeersnumberMaximum number of network peers (network disabled if set to 0). 25
metricsboolEnable metrics and pprof http. Example of prometheus metrics endpoint: http://12false
domainstringDomain name. Host will be registered in this domain if non-empty value assigned.""
domain_ttlnumberTTL in seconds for domain records. 300
backupsboolEnable backups feature for droplet. false
private_networkingboolEnable DigitalOcean private networking. true
volume_sizenumberSize of data volume in gigabytes. If zero, no volume will be created. 150
random_idboolAppends random id to droplet's name if `true`. true
ssh_keyslistList of SSH keys registered in DigitalOcean. User `root` authorized with this ke[]
imagestringGeth docker image tag. "ethereum/client-go:v1.9.3"
syncmodestringBlockchain sync mode: - `fast` - `full` - `light` "fast"
cachenumberMegabytes of memory allocated to internal caching. 1024
namestringName of service. Used as name prefix when generating hostnames. "geth"
ipv6boolEnable IPv6 address on droplet. false
maxpendpeersnumberMaximum number of pending connection attempts (defaults used if set to 0). 0
cache_databasenumberPercentage of cache memory allowance to use for database io. 75
cache_gcnumberPercentage of cache memory allowance to use for trie pruning. 25
tagslistList of existing tags for droplet. []
provisioner_usernamestringThis user will be added and used inside this module only. "provisioner"
Outputs (7)
private_key
public_key
ipv4
ipv4_private
ipv6
name
fqdn
Resources (1)
null_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.3
Cloud DIGITALOCEAN
★ Stars1
Forks1
Total downloads841
Inputs31
Outputs7
Resources1
LicenseMIT
Namespace4ops
Updated