feat: add option to set hcloud server user_data
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
197c2359c1
commit
60f70d3fd8
1
main.tf
1
main.tf
@ -36,6 +36,7 @@ resource "hcloud_server" "server" {
|
|||||||
ssh_keys = var.server_keys
|
ssh_keys = var.server_keys
|
||||||
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)
|
||||||
placement_group_id = each.value.placement_group
|
placement_group_id = each.value.placement_group
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
|
Loading…
Reference in New Issue
Block a user