Overview
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.
From JFrog Artifactory 7.38.4, JFrog provides a fully-fledged Terraform repository solution giving you full control of your deployment and resolve process of Terraform Modules, Providers, and Backend packages.
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.
Supported Terraform Repository Types
The JFrog Terraform repository solution supports a number of Terraform repository types and dedicated configurations, all customized to accommodate the Terraform environment-specific settings and requirements.
The following table describes the Terraform repository implementation in the JFrog Platform.
Terraform Repository Type | Terraform Type | Local Repository | Remote Repository | Virtual Repository | |
---|---|---|---|---|---|
Module/ Provider | Select from drop-down list in Basic tab | No differentiation | No differentiation | ||
Backend | Dedicated repository type | N/A | N/A |
Recommended Terraform Repository Setup
It is recommended to set up your Terraform repositories according to the following Terraform repository structure in the JFrog Platform to fully benefit from the full-fledged Terraform solution:
Local Terraform Module Registry
Local Terraform Provider Registry
Remote Terraform Registry
Virtual Terraform Registry: Aggregates the Local Terraform Module and the Local Terraform Provider registry
Local Terraform Backend (BE) Repository.