GithubHelp home page GithubHelp logo

modulestf / public Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 0.0 6.65 MB

A place for modules.tf questions and issues

Home Page: https://marketplace.visualstudio.com/items?itemName=betajob.modulestf

developer-experience hashicorp-terraform hcl2 terraform terraform-module terragrunt visual-studio-code vscode

public's People

Contributors

antonbabenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

public's Issues

Extension broken in Codespaces

Description

tried a couple python:3.11 base image, always failing with:

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /root/.vscode-remote/extensions/betajob.modulestf-0.0.10-linux-x64/out/mls)

โš ๏ธ Note

Before submitting an issue, please try upgrading to the latest version of extension.

Versions

Reproduction

Steps to reproduce the behavior:

Code snippet to reproduce

Expected behavior

Actual behavior

Screenshot(s)

Additional context

Apple Silicon support

Is your request related to a problem? Please describe.

Unable to test whether this plugin meets my needs on M1 Mac. I'm looking for better terragrunt syntax highlighting.

Describe the solution you'd like.

Current plugins supporting terragrunt HCL files only look for exactly terragrunt.hcl. That filename is no longer a prescriptive standard in terragrunt, so for example I have a root.hcl file which gets no highlighting treatment.

Describe alternatives you've considered.

I was gonna compile it myself then found it's not open-source ๐Ÿ˜…

Please support 64-bit versions of VS Code

Is your request related to a problem? Please describe.

The error: "The 'Terraform' extension is not available in Visual Studio Code for Windows 64 bit."

Describe the solution you'd like.

The extension compiled for 64-bit Windows VS Code.

Describe alternatives you've considered.

Using the Hashicorp Terraform plugin, but that does not support Terragrunt.

Additional context

Version: 1.76.2 (system setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: Yes

Compile with older glibc version?

Thanks for making this extension, i look forward to trying it out!

Description

I've installed v0.0.7, as far as i can tell it makes use of a bundled binary mls compiled against glibc 2.28, but i'm using Amazon Linux 2 which comes with the older glibc 2.26 so the mls binary isn't able to run.

Output:

Starting...
[Info  - 11:25:14] Connection to server got closed. Server will restart.
/home/ec2-user/.vscode-server/extensions/betajob.modulestf-0.0.7/out/mls: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/ec2-user/.vscode-server/extensions/betajob.modulestf-0.0.7/out/mls)

I'd be happy to build from source against my older glibc if you can point me in that direction?

Ideally i'd suggest building bundled binaries with an old enough glibc to be widely compatible, for example Python's manylinux wheel build system uses docker containers with old versions of glibc.

Versions

Note that I'm using Remote: SSH support to install this extension on a remote EC2 instance.

Remote VSCode server version:

$HOME/.vscode-server/bin/899d46d82c4c95423fb7e10e68eba52050e30ba3/bin/code --version
1.63.2
899d46d82c4c95423fb7e10e68eba52050e30ba3
x64

Local VSCode version:

Version: 1.63.2
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:39:46.686Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-46-generic snap

mls requires glibc 2.28:

> ldd mls 
./mls: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./mls)
        linux-vdso.so.1 (0x00007ffe78353000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fbc57acc000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbc578b6000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbc57698000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fbc57358000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fbc57154000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fbc56da9000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbc5822e000)

Amazon Linux has glibc 2.26:

> cat /etc/os-release 
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

> /lib64/libc.so.6
GNU C Library (GNU libc) stable release version 2.26, by Roland McGrath et al.
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 7.3.1 20180712 (Red Hat 7.3.1-13).
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Reproduction

Steps to reproduce the behavior:

  1. Spin up an EC2 instance running Amazon Linux 2 (i used AWS Cloud9)
  2. Use VSCode's Remote: SSH support to access the EC2 instance
  3. Install this extension
  4. Restart VSCode and remote connect again
  5. A popup will appear saying A request has failed. See the output for more information. Source: Terraform (Extension) with a button to see the output.

Expected behavior

The binary should run.

Actual behavior

The bundled binary doesn't run because it was compiled against a newer version of glibc.

modulestf-ls server crashed

Description

Extension seems to be working initially but crashes after about 3 minutes with the following message:

The modulestf-ls server crashed 4 times in the last 3 minutes. The server will not be restarted.

This is the output from the VSCode tab:

Starting...
[Info  - 10:35:57] Language service initialization...
[Info  - 10:35:57] folder: infrastructure -> /home/alex/code/infrastructure
[Info  - 10:35:58] folder: daze -> /home/alex/code/daze

Thank you for installing modules.tf - a VSCode extension for Terraform users!

This is an alpha release that will stop working after the 31th of January 2022.
We will publish another release by that time. Stay tuned for more updates!

[Follow @modulestf](https://twitter.com/modulestf)

[Info  - 10:36:10] Connection to server got closed. Server will restart.
[Info  - 10:36:10] Language service initialization...
[Info  - 10:36:10] folder: infrastructure -> /home/alex/code/infrastructure
[Info  - 10:36:10] folder: daze -> /home/alex/code/daze

Thank you for installing modules.tf - a VSCode extension for Terraform users!

This is an alpha release that will stop working after the 31th of January 2022.
We will publish another release by that time. Stay tuned for more updates!

[Follow @modulestf](https://twitter.com/modulestf)

[Info  - 10:36:20] Connection to server got closed. Server will restart.
[Info  - 10:36:20] Language service initialization...
[Info  - 10:36:20] folder: infrastructure -> /home/alex/code/infrastructure
[Info  - 10:36:20] folder: daze -> /home/alex/code/daze

Thank you for installing modules.tf - a VSCode extension for Terraform users!

This is an alpha release that will stop working after the 31th of January 2022.
We will publish another release by that time. Stay tuned for more updates!

[Follow @modulestf](https://twitter.com/modulestf)

[Info  - 10:36:34] Connection to server got closed. Server will restart.
[Info  - 10:36:35] Language service initialization...
[Info  - 10:36:35] folder: infrastructure -> /home/alex/code/infrastructure
[Info  - 10:36:35] folder: daze -> /home/alex/code/daze

Thank you for installing modules.tf - a VSCode extension for Terraform users!

This is an alpha release that will stop working after the 31th of January 2022.
We will publish another release by that time. Stay tuned for more updates!

[Follow @modulestf](https://twitter.com/modulestf)

[Error - 10:36:45] Connection to server got closed. Server will not be restarted.

Versions

VSCode: 1.65.2

Reproduction

  • Install the extension from the marketplace
  • Wait 3 minutes

Additional context

Using a Ubuntu 20.04 workstation. I have installed the Terraform extensions by Hashicorp and Anton Kulikov.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.