gitlab_integration_pipelines_email (Resource)

The gitlab_integration_pipelines_email resource allows to manage the lifecycle of a project integration with Pipeline Emails Service.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project" "awesome_project" {
  name             = "awesome_project"
  description      = "My awesome project."
  visibility_level = "public"
}

resource "gitlab_integration_pipelines_email" "email" {
  project                      = gitlab_project.awesome_project.id
  recipients                   = ["gitlab@user.create"]
  notify_only_broken_pipelines = true
  branches_to_be_notified      = "all"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# You can import a gitlab_integration_pipelines_email state using the project ID, e.g.
terraform import gitlab_integration_pipelines_email.email 1