-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
Description
Currently it's only possible to pass a single SSH key (At least according to the documentation)
resource "exoscale_compute_instance" "compute_demo_server" {
zone = local.zone
name = "compute-demo-server"
type = "standard.micro"
template_id = data.exoscale_compute_template.ubuntu.id
disk_size = 10
security_group_ids = [
exoscale_security_group.external-ssh.id,
]
ssh_key = "alice"
user_data = <<EOF
#cloud-config
package_upgrade: true
EOF
}
It would be useful to pass multiple keys as a list, similar to hetzner, e.g.
ssh_keys = ["alice", "bob"]
cleming, axi92, huerlisi, tstrohmeier, sboulkour and 1 more