bitcoin-core

4ops/bitcoin-core/digitalocean

Terraform Module HCL DIGITALOCEAN

Deploy bitcoin full node

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

Bitcoin Core - 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-core in /srv/bitcoin Components _Bitcoin Core_ is programmed to decide which block chain contains valid transactions. The users of Bitcoin Core only accept transactions for that block chain, making it the Bitcoin block chain that everyone else wants to use. For the latest developments related to Bitcoin Core, be sure to visit the project’s official website. - Original software git repo: https://github.com/bitcoin/bitcoin.git - Docker image git repo: https://github.com/4ops/docker-bitcoin-core.git Cloud resources - DigitalOcean droplet - DigitalOcean volume - DigitalOcean clo

Inputs (25)
NameTypeDescriptionDefault
trusted_sourceslistRequired. IP list to allow SSH and bitcoin rpc connections from. required
regionstringRequired. DigitalOcean region for droplet creation. required
monitoringboolEnable DigitalOcean monitoring. true
testnetboolUse test network or main if `false`. true
volume_sizenumberSize of data volume in gigabytes. If zero, no volume will be created. 100
rpc_userstringUsername for JSON-RPC connections. "bitcoin-client"
extra_argslistBitcoin extra arguments. []
namestringName of service. Used as name prefix when generating hostnames. "bitcoin"
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"
imagestringBitcoin core docker image tag. "4ops/bitcoin-core:v0.18.1"
prunenumberReduce storage requirements by enabling pruning (deleting) of old blocks. This a0
ssh_keyslistList of SSH keys registered in DigitalOcean. User `root` authorized with this ke[]
ipv6boolEnable IPv6 address on droplet. false
domain_ttlnumberTTL in seconds for domain records. 300
tagslistList of existing tags for droplet. []
private_networkingboolEnable DigitalOcean private networking. true
rpc_passwordstringPassword for JSON-RPC connections. If empty, random password will be generated. ""
txindexboolMaintain a full transaction index, used by the getrawtransaction rpc call. Defaufalse
serversnumberCount of servers to create. 1
random_idboolAppends random id to droplet's name if `true`. 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.2
Cloud DIGITALOCEAN
★ Stars1
Forks1
Total downloads824
Inputs25
Outputs8
Resources2
LicenseMIT
Namespace4ops
Updated