Network is a Terraform module useful for creating Network and Subnets on HCloud
Add the required configurations to your terraform config file and install module using command bellow:
terraform init
module "network" {
source = "cktf/network/hcloud"
name = "mynet"
cidr = "192.168.0.0/16"
subnets = {
masters = {
type = "server",
cidr = "192.168.0.0/24"
}
workers = {
type = "server",
cidr = "192.168.1.0/24"
}
}
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is licensed under the MIT.
Copyright (c) KoLiBer (koliberr136a1@gmail.com)