github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/librato/r/service.html.markdown (about) 1 --- 2 layout: "librato" 3 page_title: "Librato: librato_service" 4 sidebar_current: "docs-librato-resource-service" 5 description: |- 6 Provides a Librato service resource. This can be used to create and manage notification services on Librato. 7 --- 8 9 # librato\_service 10 11 Provides a Librato Service resource. This can be used to 12 create and manage notification services on Librato. 13 14 ## Example Usage 15 16 ``` 17 # Create a new Librato service 18 resource "librato_service" "email" { 19 title = "Email the admins" 20 type = "mail" 21 settings = <<EOF 22 { 23 "addresses": "admin@example.com" 24 } 25 EOF 26 } 27 ``` 28 29 ## Argument Reference 30 31 The following arguments are supported. Please check the [relevant documentation](https://github.com/librato/librato-services/tree/master/services) for each type of alert. 32 33 * `type` - (Required) The type of notificaion. 34 * `title` - (Required) The alert title. 35 * `settings` - (Required) a JSON hash of settings specific to the alert type. 36 37 ## Attributes Reference 38 39 The following attributes are exported: 40 41 * `id` - The ID of the alert. 42 * `type` - The type of notificaion. 43 * `title` - The alert title. 44 * `settings` - a JSON hash of settings specific to the alert type.