Resolve Terraform Providers

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

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

Note

Make sure to replace the placeholders with your namespace and provider name.

terraform {
    required_providers {
        <PROVIDER_NAME> = {
            source = "<NAMESPACE>/<PROVIDER_NAME>"
        }
    }
}

For example:

terraform {
    required_providers {
        docker = {
            source = "kreuzwerker/docker"
        }
    }
}