-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Invalid terraform HCL files crash renovate process #19777
Labels
status:requirements
Full requirements are not yet known, so implementation should not be started
type:bug
Bug fix of existing functionality
Comments
recombinationgroup
added
priority-5-triage
status:requirements
Full requirements are not yet known, so implementation should not be started
type:bug
Bug fix of existing functionality
labels
Jan 11, 2023
The error is not reproduced for me when I run against https://github.com/renovate-reproductions/19777 |
|
Found the issue and preparing a fix right now. |
🎉 This issue has been resolved in version 34.98.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
status:requirements
Full requirements are not yet known, so implementation should not be started
type:bug
Bug fix of existing functionality
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
34.97.6
If you're self-hosting Renovate, select which platform you are using.
None
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
It used to work, and then stopped
Describe the bug
I have a repository which contains a terraform HCL file with invalid syntax. I use this HCL file as a template in terragrunt, which is why it is not valid on its own. If this file is discovered by the Terraform manager in renovate versions above or equal to 34.95.0, the renovate process exits with error. Previous versions of renovate worked on this repository.
The reason seems to be that renovate replaced the HCL file ingestion with a parser, which is very good. However, in my opinion, only one of the following should happen instead of a crash:
Minimal example repository: https://github.com/recombinationgroup/renovate-bug-minimal-example-terraform-invalid-hcl
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
I have linked to a minimal reproduction repository in the bug description
The text was updated successfully, but these errors were encountered: