homelab/infra/ssh.tf

5 lines
110 B
Terraform
Raw Permalink Normal View History

2022-06-19 14:04:32 +00:00
resource "hcloud_ssh_key" "default" {
name = "hetzner_key"
public_key = file("~/.ssh/id_rsa.pub")
}