ARTIFACTORY: How to configure a Smart Remote Repository for Terraform in JFrog Artifactory

ARTIFACTORY: How to configure a Smart Remote Repository for Terraform in JFrog Artifactory

AuthorFullName__c
Elumalai Ganesan
articleNumber
000006121
ft:sourceType
Salesforce
FirstPublishedDate
2024-06-16T08:47:45Z
lastModifiedDate
2024-06-16
VersionNumber
1

A Smart Remote repository is a type of repository that serves as a proxy for a local, remote, or Federated repository from another instance of Artifactory or an Edge node. This repository type not only retains all the conventional advantages of Remote Repositories but also enhances functionality and integration within distributed networks. Artifactory allows you to configure a Smart Remote Repository for Terraform.

Once you create a Terraform Remote Repository. The URL, Registry URL, and Provider’s URL should be configured as follows for Terraform Smart Remote Repository.

URL: 

http://<sourceartifcatoryurl>/artifactory/$(sourceterraformremoterepokey)

Registry  URL : 

http://<sourceartifcatoryurl>/artifactory/api/terraform/$(sourceterraformremoterepokey))

Providers URL: 

http://<sourceartifcatoryurl>/artifactory/api/terraform/$(sourceterraformremoterepokey)/providers