New Data Source for schedule pipelines

New Data Source for scheduled pipelines

New Data Source / Resource

An example config always helps, too. Make sure to add additional details you deem relevant.

I'm missing a data source to retrieve details of schedules pipelines. I'm looking for something completely similar to the data source gitlab_projects_protected_branches, but that relates to the scheduled pipeline of a project. It could be used like this :

data "gitlab_schedule_pipelines" "main" {
    project = 1234
    name = "main"
}

Related GitLab APIs

API documentation: https://docs.gitlab.com/ee/ci/pipelines/schedules.html

Additional Details

  • [*] GitLab REST API resources available (read for data sources, crud for resources)
  • [*] go-gitlab does support the related GitLab API already
  • I'd like to contribute it myself
Edited by Abhinav Baijal