I've been scratching my head for hours trying to figure how to prevent, for example, FLUX from doing anything before Talos is ready. Using this was the solution. It's not clear anywhere on the docs as you could get a check on the cluster and it been "not ready".
But no, it doesn't go anywhere unless it is ready. So it does not check the health, it waits until the health is ready.
Clarify you can use talos_cluster_health as dependency to prevent everything else to run before the cluster is up.
Basically the title of the issue says it all but in case of doubt I mean to type this information in the docs in here:
https://registry.terraform.io/providers/siderolabs/talos/latest/docs/data-sources/cluster_health
I've been scratching my head for hours trying to figure how to prevent, for example, FLUX from doing anything before Talos is ready. Using this was the solution. It's not clear anywhere on the docs as you could get a check on the cluster and it been "not ready". But no, it doesn't go anywhere unless it is ready. So it does not check the health, it waits until the health is ready.