Cluster Agent
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'
Content copied to clipboard