Hands-on: Try the Use Modules From the Registry or Build and Use a Local Module tutorials. To download the source code to a directory on local disk so that other Terraform commands can use it. Terraform uses this during the module installation step of terraform init Tells Terraform where to find the source code for the desired child module.