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

Not resolving variables of type object #1819

Open
1 task
windowsrefund opened this issue Sep 4, 2024 · 1 comment
Open
1 task

Not resolving variables of type object #1819

windowsrefund opened this issue Sep 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@windowsrefund
Copy link

windowsrefund commented Sep 4, 2024

Language Server Version

v0.34.2

Terraform Version

v1.8.5

Client Version

neovim 10.1

Terraform Configuration

In variables.tf

variable "foo" {
  type = object({
    bar = string
    baz = bool
  })
}

Steps to Reproduce

Now in main.tf you should be able to autocomplete var.foo.bar or var.foo.baz but that doesn't happen.

Expected Behavior

autocomplete should work

Actual Behavior

autocomplete does not see anything deeper than var.foo

Gist

No response

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@windowsrefund windowsrefund added the bug Something isn't working label Sep 4, 2024
@jpogran
Copy link
Contributor

jpogran commented Sep 4, 2024

Hi @windowsrefund, this is something we are aware of: #830 and #653 come to mind. I do not have an ETA for you at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants