Jakub Sokołowski
7b5170d001
Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
README.md | ||
main.tf | ||
outputs.tf | ||
variables.tf | ||
versions.tf |
README.md
Description
This is a helper module used by Status internal repos like: infra-hq, infra-misc, infra-eth-cluster, or infra-swarm.
Usage
Simply import the modue using the source
directive:
module "alibaba-cloud" {
source = "github.com/status-im/infra-tf-alibaba-cloud"
}
Variables
- Scaling
host_count
- Number of hosts to start in this zone.image_regex
- Regex for image used to create host. (default:ubuntu_20_04_x64_20G_alibase_.*.vhd
)type
- Type of machine to deploy. (default:ecs.t5-lc2m1.nano
)zone
- Specific zone in which to deploy hosts. (default:cn-hongkong-c
)max_band_out
- Maximum outgoing bandwidth to the public network, measured in Mbps. (default:30
)root_vol_type
- I/O optimization type of root volume. (default:cloud_ssd
)root_vol_size
- Size in GiB of system root volume. (default:20
)data_vol_type
- I/O optimization type of extra data volume. (default:cloud_efficiency
)data_vol_size
- Size in GiB of an extra data volume to attach to the instance. (default: 0)
- Billing
charge
- Way in which the instance is paid for. (default:PostPaid
)period
- Time period in which we pay for instances. (default:Month
)
- General
name
- Prefix of hostname before index. (default:node
)group
- Name of Ansible group to add hosts to.env
- Environment for these hosts, affects DNS entries.stage
- Name of stage, likeprod
,dev
, orstaging
.
- Security
ssh_user
- User used to log in to instance (default:root
)key_pair
- SSH key pair used to log in to instance. (default:jakub_status.im
)open_tcp_ports
- TCP port ranges to enable access from outside. Format:N-N
(default:[]
)open_udp_ports
- UDL port ranges to enable access from outside. Format:N-N
(default:[]
)blocked_ips
- List of blocked IP ranges. Format: CIDR (default:[]
)
- DNS
cf_zone_id
- CloudFlare DNS domain zone ID. (ID forstatus.im
)domain
- DNS Domain for hostnames. (default:status.im
)