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

The getSourceFiles function throws an error when file paths are unavailable in CWD #652

Open
bigdatasourav opened this issue Sep 15, 2023 · 0 comments

Comments

@bigdatasourav
Copy link

In file-based plugins like Terraform, we pass file paths from SPC files and use GetSourceFiles present in the plugin.QueryData to fetch the file; if we pass a fileName not current in CWD, the SDK returns an error - Error: failed to get directory specified by the source tfplan.json: relative paths require a module with a pwd.
Is this an expected behaviour? If yes, can we make the error message more user-friendly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant