Re:Ethereum miner with Terraform
by rozenmd on Saturday January 27, 2018 @11:22PM
(#16249796)
When you pass in a variable into terraform it becomes an environment variable, presumably used by the precompiled code
[ Parent
| on HN ]
Re:Ethereum miner with Terraform
by juliosueiras on Saturday January 27, 2018 @11:29PM
(#16249814)
it will make more sense with something like
data "template_file" "eth_service" {
filename = "./files/eth.service"
vars {
wallet_address =
"${var.wallet_address}"
}
}
withExecStart=/tmp/ethminer -G -F eth-us.dwarfpool.com:80/${wallet_address}