Fix null_resource ordering constraints

* Ensure etcd TLS assets and kubeconfig are copied before
any attempt is made to run bootkube start
This commit is contained in:
Dalton Hubble
2017-11-06 00:39:02 -08:00
parent 10b977d54a
commit 47a9989927
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ resource "null_resource" "copy-secrets" {
# Secure copy bootkube assets to ONE controller and start bootkube to perform
# one-time self-hosted cluster bootstrapping.
resource "null_resource" "bootkube-start" {
depends_on = ["module.bootkube", "null_resource.copy-secrets", "digitalocean_droplet.controllers"]
depends_on = ["module.bootkube", "null_resource.copy-secrets"]
connection {
type = "ssh"