fix: make placement group optional
This commit is contained in:
parent
5eb39daf95
commit
07c5c8cd41
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