fix: make placement group optional (#5)
Reviewed-on: #5 Co-authored-by: Robert Kaussow <mail@thegeeklab.de> Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
5eb39daf95
commit
f1a03bae87
2
main.tf
2
main.tf
@ -38,7 +38,7 @@ resource "hcloud_server" "server" {
|
|||||||
backups = try(each.value.backups, false)
|
backups = try(each.value.backups, false)
|
||||||
keep_disk = try(each.value.keep_disk, false)
|
keep_disk = try(each.value.keep_disk, false)
|
||||||
user_data = try(each.value.user_data, null)
|
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 {
|
lifecycle {
|
||||||
ignore_changes = [
|
ignore_changes = [
|
||||||
|
Loading…
Reference in New Issue
Block a user