terraform/website/source/docs/providers/librato/index.html.markdown

40 lines
1.1 KiB
Markdown
Raw Normal View History

2015-10-01 00:08:51 +02:00
---
layout: "librato"
page_title: "Provider: Librato"
sidebar_current: "docs-librato-index"
description: |-
The Librato provider is used to interact with the resources supported by Librato. The provider needs to be configured with the proper credentials before it can be used.
---
# Librato Provider
The Librato provider is used to interact with the
resources supported by Librato. The provider needs to be configured
with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.
## Example Usage
```hcl
2015-10-01 00:08:51 +02:00
# Configure the Librato provider
provider "librato" {
email = "ops@company.com"
token = "${var.librato_token}"
2015-10-01 00:08:51 +02:00
}
# Create a new space
resource "librato_space" "default" {
# ...
2015-10-01 00:08:51 +02:00
}
```
## Argument Reference
The following arguments are supported:
* `token` - (Required) Librato API token. It must be provided, but it can also
be sourced from the `LIBRATO_TOKEN` environment variable.
* `email` - (Required) Librato email address. It must be provided, but it can
also be sourced from the `LIBRATO_EMAIL` environment variable.