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