Remote Repositories enable you to proxy and cache your remote Terraform Modules and Providers packages.
To specify that a Remote Repository supports Terraform packages, you will need to set its Package Type to Terraform when it is created.
Note that the Remote repository settings are identical for both Providers and Modules.
Follow these guidelines regarding the specific Terraform settings.
Field | Description |
---|---|
URL | The base URL of the Module storage API. When using Smart remote repositories, set the URL to |
Git Providers | It is recommended to select Github when pointing to the official HashiCorp Terraform Registry. Note that other Git Providers are not supported. |
Registry URL | The base URL of the registry API. When using Smart Remote Repositories, set the URL to When using OpenTofu, set the URL to |
Providers URL | The base URL of the Provider's storage API. When using Smart remote repositories, set the URL to When using OpenTofu, set the URL to |
For information on the common Remote repository fields, see Remote Repositories.
Note
Starting from version 7.39.4, The default Terraform behavior is to override the source URL when initializing a module. It is not recommended to disable this feature, but if you need to, you can do so by setting this system property:
artifactory.terraform.override.modules.source.hostname=false