aboutsummaryrefslogtreecommitdiffhomepage
path: root/website
diff options
context:
space:
mode:
authorMat Schaffer <mat@schaffer.me>2018-07-27 17:17:56 +0900
committerMat Schaffer <mat@schaffer.me>2018-07-27 17:17:56 +0900
commit4efdab4181cd2bfd243600def27f70f0580942a3 (patch)
tree99c7425a606bde644c5a924d158cbbf237130b52 /website
parentbc2bde6b20d0b6a7a0e1edd0b6a4e726c446d7c6 (diff)
downloadterraform-provider-statuscake-4efdab4181cd2bfd243600def27f70f0580942a3.tar.gz
terraform-provider-statuscake-4efdab4181cd2bfd243600def27f70f0580942a3.tar.zst
terraform-provider-statuscake-4efdab4181cd2bfd243600def27f70f0580942a3.zip
Replace contact_id with contact_group
This allows for multiple contacts per test.
Diffstat (limited to 'website')
-rw-r--r--website/docs/r/test.html.markdown12
1 files changed, 6 insertions, 6 deletions
diff --git a/website/docs/r/test.html.markdown b/website/docs/r/test.html.markdown
index 45e904a..9c1fb35 100644
--- a/website/docs/r/test.html.markdown
+++ b/website/docs/r/test.html.markdown
@@ -14,11 +14,11 @@ The test resource allows StatusCake tests to be managed by Terraform.
14 14
15```hcl 15```hcl
16resource "statuscake_test" "google" { 16resource "statuscake_test" "google" {
17 website_name = "google.com" 17 website_name = "google.com"
18 website_url = "www.google.com" 18 website_url = "www.google.com"
19 test_type = "HTTP" 19 test_type = "HTTP"
20 check_rate = 300 20 check_rate = 300
21 contact_id = 12345 21 contact_group = ["12345"]
22} 22}
23``` 23```
24 24
@@ -29,7 +29,7 @@ The following arguments are supported:
29* `website_name` - (Required) This is the name of the test and the website to be monitored. 29* `website_name` - (Required) This is the name of the test and the website to be monitored.
30* `website_url` - (Required) The URL of the website to be monitored 30* `website_url` - (Required) The URL of the website to be monitored
31* `check_rate` - (Optional) Test check rate in seconds. Defaults to 300 31* `check_rate` - (Optional) Test check rate in seconds. Defaults to 300
32* `contact_id` - (Optional) The id of the contact group to be add to the test. Each test can have only one. 32* `contact_group` - (Optional) Set test contact groups, must be array of strings.
33* `test_type` - (Required) The type of Test. Either HTTP, TCP, PING, or DNS 33* `test_type` - (Required) The type of Test. Either HTTP, TCP, PING, or DNS
34* `paused` - (Optional) Whether or not the test is paused. Defaults to false. 34* `paused` - (Optional) Whether or not the test is paused. Defaults to false.
35* `timeout` - (Optional) The timeout of the test in seconds. 35* `timeout` - (Optional) The timeout of the test in seconds.