A private Terraform module registry, fully managed
Cloudsmith gives your platform and infrastructure teams a fully managed, private Terraform module registry that supports version constraints, access controls, and native CLI integration. Stop reinventing distribution infrastructure and start shipping reusable modules with confidence.
One registry for every Terraform module your platform teams depend on. Cloudsmith gives you version-pinned, access-controlled module distribution with no infrastructure to run.
- Use Terraform + 30 other formats in one place
- Serve private modules via the native Terraform Module Registry API, with full version constraint support out of the box
- Centrally manage Terraform modules alongside containers, Helm charts, and raw binaries in a single platform
Signs you're ready to switch to Cloudsmith for Terraform
Why teams choose Cloudsmith for Terraform
How we support Terraform
terraform.cloudsmith.io hostname. Full version constraint support means your infrastructure teams can pin and upgrade modules with confidence..terraformrc. Assign granular permissions per repository, team, or service account to enforce who can read or publish modules.terraform init fast for teams wherever they are. No single-region bottlenecks or slow artifact resolution during CI runs.Get started with Terraform on Cloudsmith
Frequently asked questions
The Terraform Module Registry API is the standard protocol Terraform uses to resolve and download modules declared with a registry source. Cloudsmith implements this protocol natively, meaning you configure Cloudsmith as your registry host in .terraformrc and run terraform init as you normally would, with no changes to your module declarations.
You add a credentials block to your .terraformrc file pointing at your Cloudsmith registry hostname and supplying an entitlement token or API key. Cloudsmith supports per-repository and per-organisation scoped tokens, so you can issue least-privilege credentials to individual teams or CI pipelines without sharing a single shared secret.
Yes. Modules pushed to Cloudsmith are indexed by version, and consumers can use standard Terraform version constraints such as >= 1.0.0, ~> 2.1, or an exact pin. Cloudsmith serves the requested version exactly, giving your platform teams a stable, reproducible artifact for every environment.
You package your module as a .tar.gz archive and push it using the Cloudsmith CLI or API. The CLI command is cloudsmith push terraform
/ . From there, the module is immediately available to any consumer with the appropriate credentials. Yes. Cloudsmith supports 30+ artifact formats in a single platform, including Docker OCI, Helm, NPM, Python, and raw binaries. Your platform team can manage Terraform modules, container images, and Helm charts all in one place, with consistent access controls and audit logging across every format.
Cloudsmith gives you entitlement tokens and API keys scoped to individual repositories or organisations. You can assign read or write permissions per token, rotate credentials independently of module consumers, and audit every download against a specific identity. SAML SSO and SCIM provisioning are also available for enterprise teams.
Yes. Because Cloudsmith implements the standard Terraform Module Registry Protocol, it is compatible with OpenTofu and any other tool that speaks the same protocol. No special configuration is required beyond pointing your registry credentials at the Cloudsmith hostname.
Yes. Cloudsmith provides full audit logs and download analytics for every artifact in your repositories. You can see exactly which identity pulled which module version and when, making it straightforward to scope impact when a module update needs investigating.
Migration is a configuration change, not a code change. You push your existing module archives to Cloudsmith, update the registry hostname in .terraformrc for your teams and CI pipelines, and consuming module source addresses remain unchanged. Cloudsmith's support team can assist with migration planning for larger rollouts.
Cloudsmith distributes artifacts via a CDN-backed network with 600+ edge points of presence, so module downloads are fast regardless of where your engineers or CI runners are located. For teams with strict data residency requirements, Cloudsmith offers dedicated storage regions. Reach out to discuss air-gapped or private link deployment options.