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:
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"
|
||||
|
|
Loading…
Reference in New Issue