Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.11 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.11 KB

Terraform HCloud Network

pipeline release license

Network is a Terraform module useful for creating Network and Subnets on HCloud

Installation

Add the required configurations to your terraform config file and install module using command bellow:

terraform init

Usage

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"
    }
  }
}

Contributing

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.

License

This project is licensed under the MIT.
Copyright (c) KoLiBer (koliberr136a1@gmail.com)