-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
enhancementNew feature or requestNew feature or requestterraform-lsFeatures/bugs which will be implemented/fixed purely on the LS sideFeatures/bugs which will be implemented/fixed purely on the LS side
Description
#668 has been closed but for me, module inputs are not working for custom modules imported from GitHub.
Expected example:
I am getting an IntelliSense tooltip for this
when I hover:
Observed example:
I am not getting intellisense for inputs of a module imported from GitHub, e.g.
I am getting IntelliSense for source
but not for azure_subscription_id
.
Note: I obfuscated some values with <...>
.
module "tnc_elastic_azure_monitoring" {
source = "git@github.com:<account>/terraform-elastic-module"
azure_subscription_id = "<some_id>"
Extension output:
(...)
2022/07/15 12:01:33 hover.go:32: Looking for hover data at "main.tf" -> hcl.Pos{Line:13, Column:18, Byte:393}
2022/07/15 12:01:33 hover.go:34: received hover data: (*lang.HoverData)(nil)
2022/07/15 12:01:33 rpc_logger.go:45: Error for "textDocument/hover" (ID 335): [-32098] main.tf (13,18): unknown attribute "azure_subscription_id"
2022/07/15 12:01:33 opts.go:218: Completed 1 requests [1.0859ms elapsed]
[Error - 12:01:33] Request textDocument/hover failed.
Message: main.tf (13,18): unknown attribute "azure_subscription_id"
Code: -32098
Additional info
VS Code
Version: 1.69.1 (user setup)
Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a
Date: 2022-07-12T08:21:24.514Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Windows_NT x64 10.0.22000
Extension
HashiCorp Terraform
v2.23.0
Platform
Windows 11
Originally posted by @timdhoffmann in #715 (comment)
Poltergeisen, sladg, madi-parloa and RobertKeyser
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestterraform-lsFeatures/bugs which will be implemented/fixed purely on the LS sideFeatures/bugs which will be implemented/fixed purely on the LS side