You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users have encountered a parsing error in the locals.tf file when using Leverage CLI version 1.14.0. The error message lacks specificity, making it challenging to identify and resolve the issue.
Expected Behavior
The Leverage CLI should provide clear and detailed error messages, including the exact line and column numbers where the parsing error occurs, to facilitate efficient debugging.
Steps to Reproduce
Use Leverage CLI version 1.14.0.
Execute a command that parses the locals.tf file.
Encounter a generic parsing error without specific details about the location of the issue.
Screenshots
N/A
Environment:
OS: Linux, OSX, WSL
Leverage CLI Version: 1.14.0
Terraform Version: [Specify version]
Additional Context
Users have reported that wrapping the problematic expression in parentheses resolves the issue temporarily. However, a permanent fix is needed to improve error reporting and handling in the Leverage CLI.
This issue has been discussed in the Binbash Slack channel, where users shared their experiences and temporary solutions.
Implementing more informative error messages will enhance the user experience by making it easier to identify and fix syntax errors in Terraform files.
The text was updated successfully, but these errors were encountered:
$ cd apps-devstg/us-east-1/k8s-eks-demoapps/network $ leverage -v tf init
[12:38:47.332] ERROR There is a parsing error with the
/Users/.../le-tf-infra-aws-REF-ARCH/apps-devstg/us-east-1/k8s-eks-demoapps/network/locals.tf file.
Please review it.
Bug Report: Parsing Error in
locals.tf
FileDescribe the Bug
Users have encountered a parsing error in the
locals.tf
file when using Leverage CLI version 1.14.0. The error message lacks specificity, making it challenging to identify and resolve the issue.Expected Behavior
The Leverage CLI should provide clear and detailed error messages, including the exact line and column numbers where the parsing error occurs, to facilitate efficient debugging.
Steps to Reproduce
locals.tf
file.Screenshots
N/A
Environment:
Additional Context
Users have reported that wrapping the problematic expression in parentheses resolves the issue temporarily. However, a permanent fix is needed to improve error reporting and handling in the Leverage CLI.
This issue has been discussed in the Binbash Slack channel, where users shared their experiences and temporary solutions.
Implementing more informative error messages will enhance the user experience by making it easier to identify and fix syntax errors in Terraform files.
The text was updated successfully, but these errors were encountered: