gitlab_integration_emails_on_push (Resource)

The gitlab_integration_emails_on_push resource allows to manage the lifecycle of a project integration with Emails on Push 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_emails_on_push" "emails" {
  project    = gitlab_project.awesome_project.id
  recipients = "myrecipient@example.com myotherrecipient@example.com"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

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