Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

terraform executable from wsl2 #386

@yotam-h

Description

@yotam-h

Thank you for opening an issue.
In this template paragraph text could be removed, however please retain headers.

Prerequisites

  • [Ensure you have latest version of plugin installed
  • Search for possible issue duplicates

Installation details

  • IDE version (Help->About->Copy to Clipboard):
           PyCharm 2021.3.3 (Community Edition)
            Build #PC-213.7172.26, built on March 16, 2022
            Runtime version: 11.0.14.1+1-b1751.46 amd64
            VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
            Windows 11 10.0
            GC: G1 Young Generation, G1 Old Generation
            Memory: 2008M
            Cores: 8
            Non-Bundled Plugins:
            org.intellij.plugins.hcl (0.7.15)
            com.godwin.json.parser (1.4.1)
            aws.toolkit (1.41-213)
            AWSCloudFormation (213.5744.122)
  • intellij-hcl plugin version (Settings->Plugins) 0.7.15
  • Terraform version (terraform -v) 1.13

I'm working with terraform on ubuntu, running on windows 11 using wsl2.

Maybe I'm missing something but I'm unable to get terraform executable to run with pycharm/intelij

When trying to solve missing modules and running terraform get I keep getting Failed to run terraform get. Path to terraform executable is incorrect.

I know that you can use git executable from wsl, why is terraform different?

image
image1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions