homelab/terraform/cloud/ssh.tf
2023-11-04 21:33:51 +01:00

5 lines
110 B
HCL

resource "hcloud_ssh_key" "default" {
name = "hetzner_key"
public_key = file("~/.ssh/id_rsa.pub")
}