Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 5040d49

Browse files
Merge pull request #79 from unprofession-al/master
doc: updated to state support for API 3.1
2 parents cfc8692 + ff7c4b8 commit 5040d49

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This project is a [terraform](http://www.terraform.io/) provider for [pingdom](h
44

55
This currently only supports working with basic HTTP and ping checks.
66

7-
This supports Pingdom API v2.1: [API reference docs](https://www.pingdom.com/api/2.1/)
7+
This supports Pingdom API v3.1: [API reference docs](https://docs.pingdom.com/api/)
88

99
## Requirements ##
1010
* Terraform 0.12.x
@@ -18,15 +18,15 @@ terraform {
1818
required_providers {
1919
pingdom = {
2020
source = "russellcardullo/pingdom"
21-
version = "1.1.2"
21+
version = "1.1.3"
2222
}
2323
}
2424
}
2525
2626
variable "pingdom_api_token" {}
2727
2828
provider "pingdom" {
29-
pingdom_api_token = "${var.pingdom_api_token}"
29+
api_token = "${var.pingdom_api_token}"
3030
}
3131
```
3232

@@ -49,7 +49,7 @@ resource "pingdom_check" "example_with_alert" {
4949
12345678,
5050
23456789
5151
]
52-
userids = [
52+
member_ids = [
5353
24680,
5454
13579
5555
]
@@ -60,7 +60,7 @@ resource "pingdom_check" "ping_example" {
6060
name = "my ping check"
6161
host = "example.com"
6262
resolution = 1
63-
userids = [
63+
member_ids = [
6464
24680
6565
]
6666
}
@@ -183,7 +183,7 @@ The following common attributes for all check types can be set:
183183

184184
* **integrationids** - List of integer integration IDs (defined by webhook URL) that will be triggered by the alerts. The ID can be extracted from the integrations page URL on the pingdom website. See note about interaction with `sendnotificationwhendown` below.
185185

186-
* **userids** - List of integer user IDs that will be notified when the check is down.
186+
* **member_ids** - List of integer user IDs that will be notified when the check is down.
187187

188188
* **teamids** - List of integer team IDs that will be notified when the check is down.
189189

@@ -281,4 +281,4 @@ The binary will then be available at `_build/terraform-provider-pingdom_VERSION`
281281
make install
282282
```
283283

284-
This will place the binary under `$HOME/.terraform.d/plugins/OS_ARCH/terraform-provider-pingdom_VERSION`. After installing you will need to run `terraform init` in any project using the plugin.
284+
This will place the binary under `$HOME/.terraform.d/plugins/OS_ARCH/terraform-provider-pingdom_VERSION`. After installing you will need to run `terraform init` in any project using the plugin.

0 commit comments

Comments
 (0)