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

[WSL2] Error running Pluralith in WSL2: Terraform command not found #137

Open
fftcysstkm opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@fftcysstkm
Copy link

I am trying to run Pluralith in a WSL2 environment, but I encounter an error stating that the Terraform command cannot be found. I am using asdf to manage my Terraform versions, and the Terraform command itself works fine when executed independently.

Here are the steps I have taken:

Installed asdf and added the Terraform plugin
Installed the required Terraform version using asdf
Verified that the Terraform command works correctly when executed directly in the terminal
However, when I attempt to run Pluralith, it fails with an error indicating that the Terraform command is not found.

I suspect that there might be an issue with the PATH configuration or the way Pluralith locates the Terraform binary within the WSL2 environment.

Has anyone encountered a similar issue or has any suggestions on how to resolve this problem? Any help or guidance would be greatly appreciated.

Please let me know if you need any additional information or details about my setup.

Thank you in advance!

HOGE@GPD-POCKET4:~/workspace/aws-practice/ec2-test$ sudo pluralith graph
parsing response failed -> GetGitHubRelease: %!w(<nil>)
⠿ Initiating Graph ⇢ Posting Diagram To Pluralith Dashboard

→ Authentication
  ✔ API key is valid, you are authenticated!

→ Plan
  ✘ Couldn't Generate Local Execution Plan

running terraform plan failed -> GenerateGraph: RunPlan: exec: "terraform": executable file not found in $PATH



HOGE@GPD-POCKET4:~/workspace/aws-practice/ec2-test$ which terraform
/home/hoge/.asdf/shims/terraform
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