Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Include reference to env variable `UPTIMEROBOT_API_KEY`. And also mark `api_key` as optional since technically either `api_key` or `UPTIMEROBOT_API_KEY` is required. (This matches the other providers)
  • Loading branch information
drubin authored Aug 26, 2018
1 parent 98da60f commit c01858a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
---

# UptimeRobot Provider
The UptimeRobot provider is used to interact with the resources supported by UptimeRobot. The provider needs to be configured with the proper credentials before it can be used.
The [UptimeRobot]((https://uptimerobot.com/) provider is used to interact with the resources supported by UptimeRobot. 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
Expand All @@ -29,8 +29,12 @@ resource "uptimerobot_monitor" "web" {
## Authentication
The UptimeRobot provider needs an account-specific (main) api key to work. You can find that key for your account in the [My Settings](https://uptimerobot.com/dashboard#mySettings) page on UptimeRobot's website.

## Argument Reference
## Configuration Reference

The following arguments are supported in the `provider` block:
The following keys can be used to configure the provider.

* `api_key` - (Required) UptimeRobot's account-specific api key.
* `api_key` - (optional) UptimeRobot's account-specific api key.

Credentials can also be specified using any of the following environment variables (listed in order of precedence):

* `UPTIMEROBOT_API_KEY`

0 comments on commit c01858a

Please sign in to comment.