1 2 3 4 5 6 7 8 9 10 11 12 13 14
resource "hcloud_server" "web01" { name = "web01" image = data.hcloud_image.openbsd.id server_type = "cx23" location = "nbg1" ssh_keys = [data.hcloud_ssh_key.default.id] public_net { ipv4_enabled = true ipv6_enabled = true } lifecycle { ignore_changes = [image] } }