Files
modules/jfrog
2023-09-28 21:14:31 +03:00
..
2023-09-27 07:06:25 -04:00
2023-09-27 17:15:48 +03:00
2023-09-28 21:14:31 +03:00

display_name, description, icon, maintainer_github, partner_github, verified, tags
display_name description icon maintainer_github partner_github verified tags
JFrog Install the JF CLI and authenticate with Artifactory ../.icons/jfrog.svg coder jfrog true
integration

JFrog

Install the JF CLI and authenticate package managers with Artifactory.

module "jfrog" {
    source = "https://registry.coder.com/modules/jfrog"
    agent_id = coder_agent.example.id
    jfrog_url = "https://YYYY.jfrog.io"
    artifactory_access_token = var.artifactory_access_token # An admin access token
    package_managers = {
      "npm": "npm-remote",
      "go": "go-remote",
      "pypi": "pypi-remote"
    }
}

Get a JFrog access token from your Artifactory instance. The token must have admin permissions. It is recommended to store the token in a secret terraform variable.

variable "artifactory_access_token" {
    type      = string
    sensitive = true
}

JFrog

Examples

Configure npm, go, and pypi to use Artifactory local repositories

module "jfrog" {
    source = "https://registry.coder.com/modules/jfrog"
    agent_id = coder_agent.example.id
    jfrog_url = "https://YYYY.jfrog.io"
    artifactory_access_token = var.artifactory_access_token # An admin access token
    package_managers = {
      "npm": "npm-local",
      "go": "go-local",
      "pypi": "pypi-local"
    }
}