diff options
-rw-r--r-- | index.html.markdown | 1 | ||||
-rw-r--r-- | r/test.html.markdown | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/index.html.markdown b/index.html.markdown index 150b36a..443e892 100644 --- a/index.html.markdown +++ b/index.html.markdown | |||
@@ -34,5 +34,6 @@ resource "statuscake_test" "google" { | |||
34 | website_url = "www.google.com" | 34 | website_url = "www.google.com" |
35 | test_type = "HTTP" | 35 | test_type = "HTTP" |
36 | check_rate = 300 | 36 | check_rate = 300 |
37 | contact_id = 12345 | ||
37 | } | 38 | } |
38 | ``` | 39 | ``` |
diff --git a/r/test.html.markdown b/r/test.html.markdown index b3cf174..b566b0e 100644 --- a/r/test.html.markdown +++ b/r/test.html.markdown | |||
@@ -8,7 +8,7 @@ description: |- | |||
8 | 8 | ||
9 | # statuscake\_test | 9 | # statuscake\_test |
10 | 10 | ||
11 | The test resource allows StatusCake tests to be managed by Terraform. | 11 | The test resource allows StatusCake tests to be managed by Terraform. |
12 | 12 | ||
13 | ## Example Usage | 13 | ## Example Usage |
14 | 14 | ||
@@ -18,6 +18,7 @@ resource "statuscake_test" "google" { | |||
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 | } | 22 | } |
22 | ``` | 23 | ``` |
23 | 24 | ||
@@ -26,9 +27,10 @@ resource "statuscake_test" "google" { | |||
26 | The following arguments are supported: | 27 | The following arguments are supported: |
27 | 28 | ||
28 | * `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. |
29 | * `website_url` - (Required) The URL of the website to be monitored. | 30 | * `website_url` - (Required) The URL of the website to be monitored |
30 | * `check_rate` - (Optional) Test check rate in seconds. Defaults to 300. | 31 | * `check_rate` - (Optional) Test check rate in seconds. Defaults to 300 |
31 | * `test_type` - (Required) The type of Test. Either HTTP or TCP. | 32 | * `contact_id` - (Optional) The id of the contact group to be add to the test. Each test can have only one. |
33 | * `test_type` - (Required) The type of Test. Either HTTP or TCP | ||
32 | * `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. |
33 | * `timeout` - (Optional) The timeout of the test in seconds. | 35 | * `timeout` - (Optional) The timeout of the test in seconds. |
34 | * `contact_id` - (Optional) The ID of the contact group to associate with the test. | 36 | * `contact_id` - (Optional) The ID of the contact group to associate with the test. |
@@ -39,4 +41,4 @@ The following arguments are supported: | |||
39 | 41 | ||
40 | The following attribute is exported: | 42 | The following attribute is exported: |
41 | 43 | ||
42 | * `test_id` - A unique identifier for the test. \ No newline at end of file | 44 | * `test_id` - A unique identifier for the test. |