Add ssh-keys to hetzner-cloud

This commit is contained in:
2025-03-08 21:37:15 +01:00
parent f37c92c439
commit 2d93766c09
3 changed files with 23 additions and 1 deletions

View File

@@ -77,3 +77,9 @@ module "dns" {
records = lookup(each.value, "records")
}
resource "hcloud_ssh_key" "this" {
for_each = var.ssh_keys
name = each.key
public_key = each.value
}