Skip to content

BobZombiE69/terraform-btcpool-alibaba-network

 
 

Repository files navigation

terraform-btcpool-alibaba-network

open-issues open-pr

Features

This module sets up a network on Alibaba cloud for running a btcpool mining pool. Meant to be used with the associated automated node deployment.

Terraform Versions

For Terraform v0.12.0+

Usage

module "this" {
  source = "github.com/insight-nervos/terraform-btcpool-alibaba-network"
}

Examples

Known Issues

No issue is creating limit on this module.

Requirements

No requirements.

Providers

Name Version
alicloud n/a

Inputs

Name Description Type Default Required
all_enabled Bool to enable all the security groups bool false no
azs List of availability zones list(string) [] no
bastion_enabled Boolean to enable a bastion host. All ssh traffic restricted to bastion bool false no
bastion_sg_name Name for the bastion security group string "bastion-sg" no
cidr The cidr range for network string "10.0.0.0/16" no
corporate_ip The corporate IP you want to restrict ssh traffic to string "" no
create_private_subnets Bool to enable creation of private subnets bool false no
create_public_subnets Bool to enable creation of public subnets bool true no
node_sg_name Name for the node security group string "node-sg" no
num_azs The number of AZs to deploy into number 0 no
public_ports List of publicly open ports list(number)
[
1800,
8114,
8115,
9021,
9090,
3000
]
no
vpc_name The name of the VPC string "" no

Outputs

Name Description
bastion_security_group_id #### SGs ####
node_security_group_id n/a
private_vswitch_ids n/a
public_vswitch_ids n/a
vpc_id n/a

Testing

This module has been packaged with terratest tests

To run them:

  1. Install Go
  2. Run make test-init from the root of this repo
  3. Run make test again from root

Authors

Module managed by Richard Mah

Credits

License

Apache 2 Licensed. See LICENSE for full details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 78.6%
  • Go 14.2%
  • Makefile 7.2%