gitlab_project_freeze_period (Resource)

The gitlab_project_freeze_period resource allows to manage the lifecycle of a freeze period for a project.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project_freeze_period" "schedule" {
  project       = gitlab_project.foo.id
  freeze_start  = "0 23 * * 5"
  freeze_end    = "0 7 * * 1"
  cron_timezone = "UTC"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# GitLab project freeze periods can be imported using an id made up of `project_id:freeze_period_id`, e.g.
terraform import gitlab_project_freeze_period.schedule "12345:1337"