enable provider plugin cache in terraform
snippet in html

enable provider plugin cache in terraform

user1440

To enable the plugin cache, use the plugin_cache_dir 
setting in the CLI configuration file

 <plugin_cache_dir> = "$HOME/.terraform.d/plugin-cache"

Environmental Variable used to enable Plugin:---->
  
 <TF_PLUGIN_CACHE_DIR environment variable> 
 can be used to enable caching or to override an existing cache directory 
 within a particular shell session.