1
0
mirror of https://github.com/poseidon/typhoon synced 2024-11-18 04:23:51 +01:00

Add missing controller dependency before bootkube start

* Require the controller module to be completed before starting
to remote exec bootkube start, otherwise its possible the controller
nodes were created, but not the network load balancer
This commit is contained in:
Dalton Hubble 2017-11-07 19:12:05 -08:00
parent 8eaa72c1ca
commit eabf00fbf1

@ -70,7 +70,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", "module.workers", "null_resource.copy-secrets"]
depends_on = ["module.controllers", "module.bootkube", "module.workers", "null_resource.copy-secrets"]
connection {
type = "ssh"