Terraform module to manage the following Hetzner Cloud resource:
- hcloud_ssh_key
Copy and paste into your Terraform configuration, insert the variables and run terraform init
:
module "hcloud_ssh_key" {
source = "dhoppeIT/ssh_key/hcloud"
version = "~> 0.2"
name = "terraform"
public_key = "~/.ssh/id_terraform.pub"
}
Name | Version |
---|---|
terraform | >= 1.0 |
hcloud | ~> 1.0 |
Name | Version |
---|---|
hcloud | 1.36.0 |
No modules.
Name | Type |
---|---|
hcloud_ssh_key.default | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
labels | User-defined labels (key-value pairs) should be created with | map(string) |
{} |
no |
name | Name of the SSH key | string |
n/a | yes |
public_key | The public key | string |
n/a | yes |
Name | Description |
---|---|
fingerprint | The fingerprint of the SSH key |
id | The unique ID of the key |
name | The name of the SSH key |
public_key | The text of the public key |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.