3 ms·
When you pass in a variable into terraform it becomes an environment variable, presumably used by the precompiled code
by rozenmd 9y ago
When you pass in a variable into terraform it becomes an environment variable, presumably used by the precompiled code
- juliosueiras 9y agoit will make more sense with something like data "template_file" "eth_service" { filename = "./files/eth.service" vars { wallet_address = "${var.wallet_address}" } } with ExecStart=/tmp/ethminer -G -F eth-us.dwarfpool.com:80/${wallet_address}
- jlgaddis 9y agoOk. In this case, though, the included systemd unit launches "ethminer" with a hard-coded wallet address passed in.