GroupDependencyProxyArgs

data class GroupDependencyProxyArgs(val enabled: Output<Boolean>? = null, val group: Output<String>? = null, val identity: Output<String>? = null, val secret: Output<String>? = null) : ConvertibleToJava<GroupDependencyProxyArgs>

The gitlab.GroupDependencyProxy resource allows managing the group docker dependency proxy. More than one dependency proxy per group will conflict with each other. If you're looking to manage the project-level package dependency proxy, see the gitlab_project_package_registry_proxy resource instead. Upstream API: GitLab GraphQL API docs

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const foo = new gitlab.GroupDependencyProxy("foo", {
group: "1234",
enabled: true,
identity: "newidentity",
secret: "somesecret",
});
import pulumi
import pulumi_gitlab as gitlab
foo = gitlab.GroupDependencyProxy("foo",
group="1234",
enabled=True,
identity="newidentity",
secret="somesecret")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var foo = new GitLab.GroupDependencyProxy("foo", new()
{
Group = "1234",
Enabled = true,
Identity = "newidentity",
Secret = "somesecret",
});
});
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.NewGroupDependencyProxy(ctx, "foo", &gitlab.GroupDependencyProxyArgs{
Group: pulumi.String("1234"),
Enabled: pulumi.Bool(true),
Identity: pulumi.String("newidentity"),
Secret: pulumi.String("somesecret"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GroupDependencyProxy;
import com.pulumi.gitlab.GroupDependencyProxyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new GroupDependencyProxy("foo", GroupDependencyProxyArgs.builder()
.group("1234")
.enabled(true)
.identity("newidentity")
.secret("somesecret")
.build());
}
}
resources:
foo:
type: gitlab:GroupDependencyProxy
properties:
group: '1234'
enabled: true
identity: newidentity
secret: somesecret

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_group_dependency_proxy. For example: terraform import { to = gitlab_group_dependency_proxy.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: You can import a group dependency proxy using the group id. e.g. {group-id} "secret" will not populate when importing the dependency proxy, but will still be required in the configuration.

$ pulumi import gitlab:index/groupDependencyProxy:GroupDependencyProxy foo 42

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, group: Output<String>? = null, identity: Output<String>? = null, secret: Output<String>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Indicates whether the proxy is enabled.

Link copied to clipboard
val group: Output<String>? = null

The ID or URL-encoded path of the group.

Link copied to clipboard
val identity: Output<String>? = null

Identity credential used to authenticate with Docker Hub when pulling images. Can be a username (for password or personal access token (PAT)) or organization name (for organization access token (OAT)).

Link copied to clipboard
val secret: Output<String>? = null

Secret credential used to authenticate with Docker Hub when pulling images. Can be a password, personal access token (PAT), or organization access token (OAT). Cannot be imported.

Functions

Link copied to clipboard
open override fun toJava(): GroupDependencyProxyArgs