Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Add environment variable instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Reid Wiggins committed Dec 13, 2019
1 parent a62903d commit 113d539
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on Linux AMD64 the path would be `$HOME/.terraform.d/plugins/linux_amd64`.

After copying the plugin run `terraform init` in your projects that use this provider.

Put your v3 API key in the `PINGDOM_API_TOKEN` environment variable.

### Dependencies for building from source ###

If you need to build from source, you should have a working Go environment setup. If not check out the Go [getting started](http://golang.org/doc/install) guide.
Expand All @@ -38,14 +40,12 @@ This will place the binary under `$HOME/.terraform.d/plugins/OS_ARCH/terraform-p

## Usage ##

Put your v3 API key in the `PINGDOM_API_TOKEN` environment variable or pass it to the provider in the `api_key` parameter.

**Basic Check**

```
variable "pingdom_api_key" {}
provider "pingdom" {
api_key = "${var.pingdom_api_key}"
}
provider "pingdom" {}
resource "pingdom_check" "example" {
type = "http"
Expand Down

0 comments on commit 113d539

Please sign in to comment.