You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LS currently won't be able to load schema if the user who chooses to set a custom cache directory, which is because the LS has no ability to parse Terraform's CLI config (yet) and read the plugin_cache_dir option there.
Plugin developers also use dev_overrides in which case no plugins are cached anywhere. This means that LS will opt to use the schema cache. We should probably attempt to source schema locally when plugin_cache_dir or TF_PLUGIN_CACHE_DIR is set.
The text was updated successfully, but these errors were encountered:
This was initially left out from implementation of #16 due to scope/complexity.
https://www.terraform.io/docs/configuration/providers.html#provider-plugin-cache
LS currently won't be able to load schema if the user who chooses to set a custom cache directory, which is because the LS has no ability to parse Terraform's CLI config (yet) and read the
plugin_cache_dir
option there.Plugin developers also use
dev_overrides
in which case no plugins are cached anywhere. This means that LS will opt to use the schema cache. We should probably attempt to source schema locally whenplugin_cache_dir
orTF_PLUGIN_CACHE_DIR
is set.The text was updated successfully, but these errors were encountered: