resource hcloud_server control { count = 3 name = "control${count.index}" image = "ubuntu-18.04" server_type = "cx21" ssh_keys = ["${hcloud_ssh_key.terraform.id}"] connection { private_key = "${file("./keys/id_terraform")}" } user_data = <