Skip to content

Instantly share code, notes, and snippets.

@skwp
Created October 2, 2018 16:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save skwp/4cd457f8ee3fb635e76a641e12d9138d to your computer and use it in GitHub Desktop.
Save skwp/4cd457f8ee3fb635e76a641e12d9138d to your computer and use it in GitHub Desktop.
provider "aws" {
region = "us-east-1"
shared_credentials_file = "~/.aws/credentials"
profile = "${var.aws_profile}"
}
terraform {
backend "s3" {
bucket = "your.bucket.com"
key = "path/to"
region = "us-east-1"
}
}
module "mytestnet" {
source = "../modules/bitcoin-network"
domain = "mydomain.com"
clients = 3
miners = 3
rpcuser="user1"
rpcpassword="password1"
network_name = "mytestnet"
restore_backup = "s3://my.bucket.com/bitcoin-backups/bitcoin-1.tgz"
mining_type = "cpuminer"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment