To resolve a Terraform module from an Artifactory repository, add the following information to your HCL file (.tf):
module "module-name" {
source = "[JFrogPlatformURL]/<REPOSITORY-KEY>__<NAMESPACE>/<MODULE-NAME>/<PROVIDER>"
}where:
[JFrogPlatformURL]: The URL of your JPD<MODULE-NAME>: The name of the module<REPOSITORY-KEY>: The name of your repository<NAMESPACE>: The owner or organization for this provider<PROVIDER-NAME>: The name of the provider
For Example:
module "vpc" {
source = "company.jfrog.io/terraform-local__terraform-aws-modules/vpc/aws"
}