terraform init modules code example
Example: terraform init
#Commands from Terraform Init
#upgrade modules and plugins
terraform init -upgrade
#Skip Backend Initialization
terraform init -backend=false
#Skip Child Module Initialization
terraform init -get=false
#Skip Plugin initialization
terraform init -get-plugins=false
#Copy a Source Module
terraform init -from-module=MODULE-SOURCE
#During initialization the plugins are stored in below location
On most operationg systems : ~/.terraform.d/plugins
on Windows : %APPDATA%\terraform.d\plugins