diff --git a/CHANGES.md b/CHANGES.md index a3a7adeb..d745f26d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,7 @@ Notable changes between versions. #### Digital Ocean * Add kubelet `--volume-plugin-dir` flag to allow flexvolume plugins ([#142](https://github.com/poseidon/typhoon/pull/142)) +* Fix to pass `ssh_fingerprints` as a list to droplets ([#143](https://github.com/poseidon/typhoon/pull/143)) #### Google Cloud diff --git a/digital-ocean/container-linux/kubernetes/controllers.tf b/digital-ocean/container-linux/kubernetes/controllers.tf index eae94b10..5e36562f 100644 --- a/digital-ocean/container-linux/kubernetes/controllers.tf +++ b/digital-ocean/container-linux/kubernetes/controllers.tf @@ -45,7 +45,7 @@ resource "digitalocean_droplet" "controllers" { private_networking = true user_data = "${element(data.ct_config.controller_ign.*.rendered, count.index)}" - ssh_keys = "${var.ssh_fingerprints}" + ssh_keys = ["${var.ssh_fingerprints}"] tags = [ "${digitalocean_tag.controllers.id}", diff --git a/digital-ocean/container-linux/kubernetes/workers.tf b/digital-ocean/container-linux/kubernetes/workers.tf index 51c4a7a0..4e2c67ec 100644 --- a/digital-ocean/container-linux/kubernetes/workers.tf +++ b/digital-ocean/container-linux/kubernetes/workers.tf @@ -26,7 +26,7 @@ resource "digitalocean_droplet" "workers" { private_networking = true user_data = "${data.ct_config.worker_ign.rendered}" - ssh_keys = "${var.ssh_fingerprints}" + ssh_keys = ["${var.ssh_fingerprints}"] tags = [ "${digitalocean_tag.workers.id}",