bitcoin-abc

4ops/bitcoin-abc/digitalocean

Terraform Module HCL DIGITALOCEAN

Deploy bitcoin cash full node

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

Bitcoin ABC - 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 bitcoin-abc in /srv/bitcoin Components _Bitcoin ABC_ is a full node implementation of the Bitcoin Cash protocol. - Original software git repo: - Docker image git repo: 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 (25)
NameTypeDescriptionDefault
regionstringRequired. DigitalOcean region for droplet creation. required
trusted_sourceslistRequired. IP list to allow SSH and bitcoin rpc connections from. required
random_idboolAppends random id to droplet's name if `true`. true
sizestringSize of droplet. "s-2vcpu-4gb"
backupsboolEnable backups feature for droplet. false
provisioner_usernamestringThis user will be added and used inside this module only. "provisioner"
prunenumberReduce storage requirements by enabling pruning (deleting) of old blocks. This a0
txindexboolMaintain a full transaction index, used by the getrawtransaction rpc call. Defaufalse
bitcoin_exporterboolInstalls bitcoin-exporter. Default: true true
serversnumberCount of servers to create. 1
domain_ttlnumberTTL in seconds for domain records. 300
tagslistList of existing tags for droplet. []
ipv6boolEnable IPv6 address on droplet. false
monitoringboolEnable DigitalOcean monitoring. true
imagestringBitcoin ABC docker image tag. "4ops/bitcoin-abc:v0.20.3"
rpc_userstringUsername for JSON-RPC connections. "bitcoin-client"
rpc_passwordstringPassword for JSON-RPC connections. If empty, random password will be generated. ""
namestringName of service. Used as name prefix when generating hostnames. "bitcoin-abc"
domainstringDomain name. Host will be registered in this domain if non-empty value assigned.""
ssh_keyslistList of SSH keys registered in DigitalOcean. User `root` authorized with this ke[]
volume_sizenumberSize of data volume in gigabytes. If zero, no volume will be created. 100
testnetboolUse test network or main if `false`. true
Outputs (8)
fqdn
private_key
public_key
rpc_password
ipv4
ipv4_private
ipv6
name
Resources (2)
null_resourcerandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.3
Cloud DIGITALOCEAN
★ Stars0
Forks1
Total downloads818
Inputs25
Outputs8
Resources2
LicenseMIT
Namespace4ops
Updated