github.com/jzbruno/terraform@v0.10.3-0.20180104230435-18975d727047/website/docs/registry/modules/use.html.md (about) 1 --- 2 layout: "registry" 3 page_title: "Finding and Using Modules from the Terraform Registry" 4 sidebar_current: "docs-registry-use" 5 description: |- 6 The Terraform Registry makes it simple to find and use modules. 7 --- 8 9 # Finding and Using Modules 10 11 The [Terraform Registry](https://registry.terraform.io) makes it simple to 12 find and use modules. 13 14 ## Finding Modules 15 16 Every page on the registry has a search field for finding 17 modules. Enter any type of module you're looking for (examples: "vault", 18 "vpc", "database") and resulting modules will be listed. The search query 19 will look at module name, provider, and description to match your search 20 terms. On the results page, filters can be used further refine search results. 21 22 By default, only [verified modules](/docs/registry/modules/verified.html) 23 are shown in search results. Verified modules are reviewed by HashiCorp to 24 ensure stability and compatibility. By using the filters, you may view unverified 25 modules as well. 26 27 ## Using Modules 28 29 The Terraform Registry is integrated directly into Terraform. This makes 30 it easy to reference any module in the registry. The syntax for referencing 31 a registry module is `namespace/name/provider`. For example: 32 `hashicorp/consul/aws`. 33 34 When viewing a module on the registry on a tablet or desktop, usage instructions 35 are shown on the right side. The screenshot below shows where to find these. 36 You can copy and paste this to get started with any module. Some modules may 37 have required inputs you must set before being able to use the module. 38 39 ```hcl 40 module "consul" { 41 source = "hashicorp/consul/aws" 42 version = "0.1.0" 43 } 44 ``` 45 46 ## Module Versions 47 48 Each module in the registry is versioned. These versions syntactically must 49 follow [semantic versioning](http://semver.org/). In addition to pure syntax, 50 we encourge all modules to follow the full guidelines of semantic versioning. 51 52 Terraform since version 0.11 will resolve any provided 53 [module version constraints](/docs/modules/usage.html#module-versions) and 54 using them is highly recommended to avoid pulling in breaking changes. 55 56 Terraform from version 10.6 through to 0.11 had partial support for the registry 57 protocol, however will not honor version constraints and always download the 58 latest version.