Skip to content

Cluster

Module: cluster

Requirements

Name Version
cloudflare ~> 4.37
hcloud ~> 1.47
tls ~> 4.0

Providers

No providers.

Modules

Name Source Version
firewall ../network/firewall n/a
server ../server/ n/a
ssh_key ../ssh_key/ n/a

Resources

No resources.

Inputs

Name Description Type Default Required
firewall_config A map of firewalls to create
map(object({
name = string
labels = optional(map(string), {})
rules = list(object({
direction = string
protocol = string
port = string
source_ips = optional(list(string))
destination_ips = optional(list(string))
description = optional(string)
}))
}))
{} no
server_config Configuration for servers
map(object({
location = string
server_type = string
labels = string
ipv4_enabled = optional(bool)
ipv6_enabled = optional(bool)
subnet_id = string
subnet_ip = string
firewall_ids = optional(list(string))
}))
n/a yes
ssh_key_name Name of the SSH key string "cluster_hetzner_key" no
ssh_key_path Path to the SSH key string "~/.ssh" no
use_network Flag to use network bool true no

Outputs

Name Description
server_status n/a