Skip to content

unleftie/hcloud-infra

 
 

Repository files navigation

hcloud-infra

Installation

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"

Requirements

Name Version
hcloud 1.51.0

Inputs

Name Description Type Default Required
hcloud_token Hetzner Cloud API Token string n/a yes
knocking_ports_range Knocking Ports Range list(number)
[
5200,
5300
]
no
labels Labels for all resources map(string)
{
"env": "dev",
"org": "acme"
}
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)
[
5200
]
no

📝 License

This project is licensed under the MIT.

About

Hetzner Cloud infrastructure

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • HCL 100.0%