fix: make placement group optional (#5)
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build-package Pipeline was successful

Reviewed-on: #5
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
Robert Kaussow 2024-04-11 21:29:37 +02:00 committed by Robert Kaussow
parent 5eb39daf95
commit f1a03bae87

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 = [