diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/docs/r/test.html.markdown | 12 |
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 |
16 | resource "statuscake_test" "google" { | 16 | resource "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. |