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.
For Terraform v0.12.0+
module "this" {
source = "github.com/insight-nervos/terraform-btcpool-alibaba-network"
}
No issue is creating limit on this module.
No requirements.
Name | Version |
---|---|
alicloud | n/a |
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) |
[ |
no |
vpc_name | The name of the VPC | string |
"" |
no |
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 |
This module has been packaged with terratest tests
To run them:
- Install Go
- Run
make test-init
from the root of this repo - Run
make test
again from root
Module managed by Richard Mah
Apache 2 Licensed. See LICENSE for full details.