Skip to content

Server

Module: server

Requirements

Name Version
hcloud ~> 1.47

Providers

Name Version
hcloud ~> 1.47

Modules

No modules.

Resources

Name Type
hcloud_server.server resource
hcloud_server_network.subnet_controler resource

Inputs

Name Description Type Default Required
firewall_ids Firewall IDs to pass to the server list(string) null no
hcloud_ssh_key_id ID of the SSH key created and used for Hetzner cloud and serves list(string) n/a yes
os_type OS image to use for the server string "debian-12" no
server_config Config for each created server
map(object({
location = string
server_type = string
labels = optional(string)
ipv4_enabled = optional(bool)
ipv6_enabled = optional(bool)
subnet_id = optional(string)
subnet_ip = optional(string)
firewall_ids = optional(list(string))
}))
n/a yes
use_network Use VPC and subnets bool false no

Outputs

Name Description
server_info n/a