|
@@ -1,7 +1,7 @@ |
|
|
resource "hcloud_server" "vms" { |
|
|
resource "hcloud_server" "vms" { |
|
|
name = each.key |
|
|
name = each.key |
|
|
image = var.server_image |
|
|
image = var.server_image |
|
|
server_type = var.default_server_type |
|
|
|
|
|
|
|
|
server_type = each.value.server_type |
|
|
location = var.default_location |
|
|
location = var.default_location |
|
|
ssh_keys = [for value in hcloud_ssh_key.ssh_keys: value.id] |
|
|
ssh_keys = [for value in hcloud_ssh_key.ssh_keys: value.id] |
|
|
|
|
|
|
|
|