Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When overrides are not YAML valid, tdp_vars directory is inconsistent #634

Open
rpignolet opened this issue Nov 26, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@rpignolet
Copy link
Collaborator

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.

@PaulFarault PaulFarault added the bug Something isn't working label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants