A Virtual Repository defined in Artifactory aggregates packages from both local and remote repositories.
This allows you to access both locally hosted Modules and Providers and remote proxied Terraform repositories from a single URL defined for the Virtual Repository.
To define a virtual Terraform repository, do the following:
Create a Virtual Repositories, and set the Package Type to be Terraform.
Select the underlying local and remote Terraform Module or Provider repositories to include in the Basic settings tab.