Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Artifactory

v0.1.1 published on Thursday, Nov 18, 2021 by Pulumi

The Artifactory provider for Pulumi can be used to provision any of the cloud resources available in Artifactory. The Artifactory provider must be configured with credentials to deploy and update resources in Artifactory.

Example

const artifactory = require("@pulumi/artifactory")

new artifactory.LocalRepository('pulumipus', {
    key: "pulumipus", // this key can be the name of your repository
    packageType: "docker"
})
import * as artifactory from "@pulumi/artifactory";

new artifactory.LocalRepository('pulumipus', {
    key: "pulumipus", // this key can be the name of your repository
    packageType: "docker"
})
import pulumi_artifactory as artifactory

my_local = artifactory.LocalRepository("pylumipus",
                                       key="pylumipus",
                                       package_type="npm")
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    artifactory "github.com/pulumi/pulumi-artifactory/sdk/go/artifactory"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := artifactory.NewLocalRepository(ctx, "golumipus", &artifactory.LocalRepositoryArgs{
			Key:         pulumi.String("golumipus"),
			PackageType: pulumi.String("npm"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Artifactory;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var repo = new LocalRepository("cslumipus", new LocalRepositoryArgs
            {
                Key = "cslumipus",
                PackageType = "npm",
            });
        });
}