Resolve Terraform Modules

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

To resolve a Terraform module from an Artifactory repository, add the following information to your HCL file (main.tf):

Note

Make sure to replace the placeholders with your token, JFrog Platform domain, namespace, module name, and provider name.

module "module-name" {
    source  = "<YOUR_JFROG_DOMAIN>__<NAMESPACE>/<MODULE_NAME>/<PROVIDER_NAME>"
}

For example:

module "vpc" {
    source  = "tflocal.com/terraform-remote-chlwfrvoj9__terraform-aws-modules/vpc/aws"
}