clan-infra/terraform/admins/main.tf

9 lines
155 B
Terraform
Raw Normal View History

2023-07-04 14:43:31 +00:00
resource "hcloud_ssh_key" "hcloud" {
for_each = var.ssh_keys
name = each.key
public_key = each.value
labels = {
2023-07-04 15:23:29 +00:00
"web01" = "true"
2023-07-04 14:43:31 +00:00
}
}