If a YAML in a tdp_vars_overrides dir supply with --overrides option of tdp init is not valid, the tdp_vars dir is created and provision only with defaults but without overrides which is inconsistent. The user must remove tdp_vars dir manually before running again tdp init --overrides ....
We should validate YAML files before writing inside tdp_vars dir in order to not create tdp_vars dir and the content if a YAML file is not valid.
If a YAML in a tdp_vars_overrides dir supply with
--overrides
option oftdp init
is not valid, thetdp_vars
dir is created and provision only with defaults but without overrides which is inconsistent. The user must removetdp_vars
dir manually before running againtdp init --overrides ...
.We should validate YAML files before writing inside
tdp_vars
dir in order to not createtdp_vars
dir and the content if a YAML file is not valid.