ClusterAgent

class ClusterAgent : KotlinCustomResource

The gitlab.ClusterAgent resource allows to manage the lifecycle of a GitLab Agent for Kubernetes.

Note that this resource only registers the agent, but doesn't configure it. The configuration needs to be manually added as described in the docs. However, a gitlab.RepositoryFile resource may be used to achieve that. Requires at least maintainer permissions on the project. Requires at least GitLab 14.10 Upstream API: GitLab REST API docs

Import

GitLab Agent for Kubernetes can be imported with the following command and the id pattern <project>:<agent-id>

$ pulumi import gitlab:index/clusterAgent:ClusterAgent example '12345:42'

Properties

Link copied to clipboard
val agentId: Output<Int>

The ID of the agent.

Link copied to clipboard
val createdAt: Output<String>

The ISO8601 datetime when the agent was created.

Link copied to clipboard
val createdByUserId: Output<Int>

The ID of the user who created the agent.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The Name of the agent.

Link copied to clipboard
val project: Output<String>

ID or full path of the project maintained by the authenticated user.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>