Add the required configurations to your terraform config file and install module using command bellow:
git clone https://github.com/unleftie/hcloud-infra.git
cd hcloud-infra/
terraform init
terraform apply -var="hcloud_token=your-hcloud-token"| Name | Version |
|---|---|
| hcloud | 1.51.0 |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| hcloud_token | Hetzner Cloud API Token | string |
n/a | yes |
| knocking_ports_range | Knocking Ports Range | list(number) |
[ |
no |
| labels | Labels for all resources | map(string) |
{ |
no |
| network_cidr_block1 | CIDR block for the network | string |
"10.10.0.0/16" |
no |
| server_location | Default Server Location | string |
"nbg1" |
no |
| server_name3 | n/a | string |
"server3" |
no |
| server_name6 | n/a | string |
"server6" |
no |
| service_name | Default Service/Org Name | string |
"acme" |
no |
| ssh_public_key_path | Name of existing SSH public key file | string |
"id_rsa.pub" |
no |
| subnet_cidr_block1 | CIDR block for the subnet | string |
"10.10.10.0/24" |
no |
| vpn_ports | VPN UDP Ports | list(number) |
[ |
no |
This project is licensed under the MIT.