The gitlab_cluster_agent
data source allows to retrieve details about a GitLab Agent for Kubernetes.
Upstream API: GitLab REST API docs
data "gitlab_cluster_agent" "example" {
project = "12345"
agent_id = 1
}
agent_id
(Number) The ID of the agent.project
(String) ID or full path of the project maintained by the authenticated user.created_at
(String) The ISO8601 datetime when the agent was created.created_by_user_id
(Number) The ID of the user who created the agent.id
(String) The ID of this resource.name
(String) The Name of the agent.