kyma-project / hydroform

Infrastructure SDK for provisioning and managing Kubernetes cluster based on Terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New installation: Prerequisites should fail fast

clebs opened this issue · comments

Description

When using the parallel installation a failed component does not immediately stop the deployment, which is the desired behaviour in a concurrent scenario.

But this should not be the same for the prerequisites since without them no other component can be deployed and therefore the process should stop.

Expected result

Deployment fails if any prerequisite fails to be deployed.

Actual result

Deployment continues despite failed prerequisites, eventually failing further down the line. Costing time and resources, as well as making debugging harder.

Prerequisites deployment now fails fast: as soon as a prerequisite fails deployment is aborted.