Terraform/ OpenTofu Repositories

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

From JFrog Artifactory 7.38.4, JFrog provides a fully-fledged Terraform repository solution giving you full control of your deployment and resolving process of Terraform Modules, Providers, and Backend packages.

Starting from Artifactory version 7.81.0, Jfrog also supports integration with OpenTofu to manage Terraform packages. To configure Artifactory with OpenTofu, see Configure Terraform Provider Registry with Artifactory Using OpenTofu and Configure Terraform Backend Repository with Artifactory Using OpenTofu. After the initial configuration, all documentation instructions for Terraform also apply to OpenTofu.

Did you know?

Terraform is an infrastructure as code (IaC) tool that allows developers to build, change, and version infrastructure safely and efficiently. Terraform is written in HCL language. Code in the Terraform language is stored in plain text files with the .tf file extension. For more information, see the Terraform Language.

The Terraform Registry in the JFrog Platform offers the following benefits:

  • Secure and private local Terraform Modules registry

  • Secure and private local Terraform Providers registry

  • Proxy remote Terraform Module and Provider resources with caching to keep you independent of the network and the remote resource.

  • Virtual Terraform repositories that support a single URL through which to manage the resolution and deployment of all your Terraform Modules and Providers.

The Terraform Backend Repository in the JFrog Platform offers the following benefits:

  • A Remote State Storage Provider

  • Support for multiple Workspaces

  • Built-in Secure State Encryption storage

  • Comprehensive State snapshot history

  • State content viewer with advanced search abilities

Terraform CLI Version Support

Artifactory supports Terraform CLIversion 1.0.0 and above.