Skip to content

Commit

Permalink
Pass Digital Ocean ssh_fingerprints as a list
Browse files Browse the repository at this point in the history
* Fix digital-ocean module to pass ssh_fingerprints
as a list since the module accepts a list
  • Loading branch information
Sean Swehla authored and dghubble committed Feb 26, 2018
1 parent 04c6613 commit 0da7757
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion digital-ocean/container-linux/kubernetes/controllers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
2 changes: 1 addition & 1 deletion digital-ocean/container-linux/kubernetes/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 0da7757

Please sign in to comment.