Deploy Terraform Modules

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

To deploy a Terraform module to an Artifactory repository, use the following curl command:

Note

Make sure to replace the placeholders with your token, JFrog Platform domain, repository key, namespace, module name, provider name, version, and path to the file on your machine.

curl -upm-admin:<TOKEN> -XPUT 
"https://<YOUR_JFROG_DOMAIN>/artifactory/<REPOSITORY_KEY>/<NAMESPACE>/<MODULE_NAME>/<PROVIDER_NAME>/<VERSION>.zip" -T <PATH_TO_FILE>

For example:

curl -upm-admin:EKu8Bz5pCLLM8p1RhGqVeeDzrsHJpTCygcrrUCdFm00tkRqe4UCjU5s0Ke7T7km0 -X PUT 
"http://johnf.jfrog.io/artifactory/terraform-main-module-local-storage-rmmqrwdhfc/jfrog/test-module/test-provider/1.0.0.zip" -T test-module-1.0.0.zip