librato_service

Provides a Librato Service resource. This can be used to create and manage notification services on Librato.

Example Usage

# Create a new Librato service
resource "librato_service" "email" {
    title = "Email the admins"
    type = "mail"
    settings = <<EOF
{
  "addresses": "admin@example.com"
}
EOF
}

Argument Reference

The following arguments are supported. Please check the relevant documentation for each type of alert.

  • type - (Required) The type of notificaion.
  • title - (Required) The alert title.
  • settings - (Required) a JSON hash of settings specific to the alert type.

Attributes Reference

The following attributes are exported:

  • id - The ID of the alert.
  • type - The type of notificaion.
  • title - The alert title.
  • settings - a JSON hash of settings specific to the alert type.