gitlab_global_level_notifications (Resource)

The gitlab_global_level_notifications resource allows to manage global notifications.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_global_level_notifications" "foo" {
  level = "watch"
}

# Create Custom global level notification
resource "gitlab_global_level_notifications" "foo" {
  level             = "custom"
  new_merge_request = true
}

Schema

Optional

Read-Only

Import

Import is supported using the following syntax:

# Note: You can import a global notification state using "gitlab" as the ID.
# The ID will always be gitlab, because the global notificatio only exists
# once per user

terraform import gitlab_global_level_notifications.example gitlab