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

Provide tfvars references for variable blocks #618

Closed
radeksimko opened this issue Aug 12, 2021 · 1 comment · Fixed by #727
Closed

Provide tfvars references for variable blocks #618

radeksimko opened this issue Aug 12, 2021 · 1 comment · Fixed by #727

Comments

@radeksimko
Copy link
Member

radeksimko commented Aug 12, 2021

Current Version

v0.20.1

Current State

Users currently benefit from being able to lookup references via a context menu by right-clicking to a variable block, e.g. finding all references (var.example) for

variable "example" {
}

Users can also see the total number of references within a module via code lens above the variable block in VS Code or other supported clients.

Use-cases

Variables can be referenced in variable (tfvars) files and users would benefit from seeing variable references in these files as well, both when looking via the context menu and code lens.

Additionally when requesting definition for a tfvars entry, the corresponding variable block is returned.

Proposal

terraform-schema

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants