lamassu-server/main.tf
2017-07-06 21:56:56 +03:00

37 lines
850 B
HCL

module "zcash" {
source = "./blockchain"
name = "zcash"
blockchain_cmd = "zcashd"
blockchain_conf = "zcash.conf"
ssh_key = "${digitalocean_ssh_key.default.id}"
}
module "litecoin" {
source = "./blockchain"
name = "litecoin"
blockchain_cmd = "litecoind"
blockchain_conf = "litecoin.conf"
ssh_key = "${digitalocean_ssh_key.default.id}"
}
module "dash" {
source = "./blockchain"
name = "dash"
blockchain_cmd = "dashd"
blockchain_conf = "dash.conf"
ssh_key = "${digitalocean_ssh_key.default.id}"
}
module "bitcoin" {
source = "./blockchain"
name = "bitcoin"
blockchain_cmd = "bitcoind"
blockchain_conf = "bitcoin.conf"
ssh_key = "${digitalocean_ssh_key.default.id}"
}
resource "digitalocean_ssh_key" "default" {
name = "Lamassu Server"
public_key = "${file("${pathexpand("~/.ssh/id_rsa.pub")}")}"
}