Open
Description
I believe the language server is reading the remote state. Remote state requires authentication.
I have a more elaborate method of authenticating against AWS which is a wrapper that rotates keys and sets environment variables, etc.
https://github.com/99designs/aws-vault
It would be a good feature if we would wrap the language servers execution in this program. Maybe a "terraform-ls.command" option so we can define the full terraform-ls command to be executed. eg:
/usr/local/bin/aws-vault exec myProfile -- terraform-ls