fix: make placement group optional #5

Merged
xoxys merged 1 commits from fix-pg into main 2024-04-11 19:29:38 +00:00

View File

@ -38,7 +38,7 @@ resource "hcloud_server" "server" {
backups = try(each.value.backups, false)
keep_disk = try(each.value.keep_disk, false)
user_data = try(each.value.user_data, null)
placement_group_id = each.value.placement_group
placement_group_id = try(each.value.placement_group, null)
lifecycle {
ignore_changes = [