38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
---
|
|
layout: "registry"
|
|
page_title: "Terraform Registry"
|
|
sidebar_current: "docs-registry-home"
|
|
description: |-
|
|
The Terraform Registry is a repository of modules written by the Terraform community.
|
|
---
|
|
|
|
# Terraform Registry
|
|
|
|
The [Terraform Registry](https://registry.terraform.io) is a repository
|
|
of modules written by the Terraform community. The registry can be used to
|
|
help you get started with Terraform more quickly, see examples of how
|
|
Terraform is written, and find pre-made modules for infrastructure components
|
|
you require.
|
|
|
|
The Terraform Registry is integrated directly into Terraform to make
|
|
consuming modules easy. The following example shows how easy it is to
|
|
build a fully functional [Consul](https://www.consul.io) cluster using the
|
|
[Consul module for AWS](https://registry.terraform.io/modules/hashicorp/consul/aws).
|
|
|
|
```hcl
|
|
module "consul" {
|
|
source = "hashicorp/consul/aws"
|
|
}
|
|
```
|
|
|
|
~> **Note:** Module registry integration was added in Terraform v0.10.6, and full versioning support in v0.11.0.
|
|
|
|
You can also publish your own modules on the Terraform Registry. You may
|
|
use the [public registry](https://registry.terraform.io) for public modules.
|
|
For private modules, you can use a [Private Registry](/docs/registry/private.html),
|
|
or [reference repositories and other sources directly](/docs/modules/sources.html).
|
|
Some features are available only for registry modules, such as versioning
|
|
and documentation generation.
|
|
|
|
Use the navigation to the left to learn more about using the registry.
|