Support auto-completion for remote state outputs #652
Labels
enhancement
New feature or request
terraform-ls
Features/bugs which will be implemented/fixed purely on the LS side
I rely a lot on remote state imports like this:
It would be REALLY nice to get autocomplete for the outputs, so for example doing this and getting a list of outputs in the remote state with auto-complete:
data.terraform_remote_state.some-state-with-outputs-I-want-reference.outputs.<AUTO_COMPLETE>
Is there any way to support this? You should be able to have the plugin retrieve the outputs of the state file thats being referenced and could probably cache it for performance or something right? This would be a huge productivity gain for our terraform users- its not conducive to have to switch back to the config of the state being imported to see what all the outputs are whenever we want to use them. Even if this was some setting we had to manually tweak and configure a little it would be really valuable to have.
The text was updated successfully, but these errors were encountered: