Skip to content

NFhbar/aws-blockchain-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Module

CircleCI

This module includes provisions an EC2 with a blockchain server installed, including the following:

Requirements

Usage

module "bitcoin_node" {
  source = "git::https://github.com/NFhbar/aws-blockchain-module"

  instance_count  = "${var.instance_count}"
  name            = "${var.name}-${var.environment}"
  ami             = "${var.ami}"
  instance_type   = "${var.instance_type}"
  vpc_id          = "${var.vpc.vpc_id}"
  cidr_blocks     = "${var.vpc.vpc_cidr_block}"
  subnet          = "${var.vpc.public_subnets[0]}"
  blockchain      = "${var.blockchain}"
  blockchain_port = "${var.blockchain_port}"
  testnet         = "${var.testnet}"
  size            = "${var.size}"
  ssh             = "${var.ssh}"
  sshkey          = "${var.ssh_key}"
  user            = "${var.user}"
  pass            = "${var.pass}"
}

Blockchain Specific Template File

This module installs a specific blockchain using the templates files in templates. Currently only bitcoin is supported.

Example

See an example usage in examples.

Tests

Tests are run using Terratest.

To run the test suite:

$ dep init
$ dep ensure -vendor-only
$ cd test/ && go test -v

About

aws terraform blockchain module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors