Download and update remote module sources.
Section: Modules
Install/update remote modules
bash
bash
terraform get -updateExplanation
Download and update remote module sources.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Modules
Init from module source
Copy a module into an empty working directory and initialize it.
Module source registry snippet
Use a Terraform Registry module with a version constraint.
Module source Git snippet
Use a module source from Git with a specific ref.
Generate provider lock info for platform
Update the dependency lock file with checksums for target platforms.
README module example pattern
Example of documenting reusable module outputs clearly.
Moved block snippet
Use moved blocks to preserve state during resource renames in configuration.