Skip to content

SSH Key

Module: ssh_key

Requirements

Name Version
hcloud ~> 1.47
tls ~> 4.0

Providers

Name Version
hcloud ~> 1.47
tls ~> 4.0

Modules

No modules.

Resources

Name Type
hcloud_ssh_key.default resource
tls_private_key.ssh_key resource

Inputs

Name Description Type Default Required
ssh_key_name Name of the SSH key created and used for Hetzner cloud and serves string "hetzner_ssh_key" no
ssh_key_path Path where the SSH key is stored string "~/.ssh" no

Outputs

Name Description
hcloud_ssh_key_id Pass Hcloud ssh key id into server
public_key Public key