Nodes SSH Hetzner
Requirements
| Name | Version |
|---|---|
| hcloud | ~> 1.49 |
Providers
| Name | Version |
|---|---|
| hcloud | ~> 1.49 |
| tls | n/a |
Resources
| Name | Type |
|---|---|
| hcloud_ssh_key.root | resource |
| tls_private_key.ssh_client_identity | resource |
| tls_private_key.ssh_host_identity | resource |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| environment | Environment/stage for the resources (prod, dev, staging) | string |
n/a | yes |
| labels | additional labels for all created resources | map(string) |
{} |
no |
| location | Hetzner location for created resources (nbg1, fsn1, …) | string |
"nbg1" |
no |
| name | Name for the K3S cluster associated resources | string |
n/a | yes |
Outputs
| Name | Description |
|---|---|
| root_ssh_key_id | Hetzner id of the created SSH key |
| root_ssh_key_openssh_public | public part of the SSH key in OpenSSH format |
| ssh_private_key_openssh | private part of the SSH key in OpenSSH format |