terraform/website/docs/registry/index.html.md

1.5 KiB

layout page_title sidebar_current description
registry Terraform Registry docs-registry-home The Terraform Registry is a repository of modules written by the Terraform community.

Terraform Registry

The Terraform Registry 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 cluster using the Consul module for AWS.

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 for public modules. For private modules, you can use a Private Registry, or reference repositories and other sources directly. 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.