Skip to content

Instantly share code, notes, and snippets.

@DeepInThought
Forked from skwp/bitcoin-testnet.tf
Created April 9, 2019 12:46
Show Gist options
  • Save DeepInThought/3dbf1c67a2cf1e57525bc24a21e96293 to your computer and use it in GitHub Desktop.
Save DeepInThought/3dbf1c67a2cf1e57525bc24a21e96293 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