aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorstack72 <public@paulstack.co.uk>2017-01-17 16:11:23 +0000
committerstack72 <public@paulstack.co.uk>2017-01-17 16:11:23 +0000
commit6f91d719dfbfc7ddc7fe37b449405d82685d38ac (patch)
tree6118dde3ac9eddd584e91960a385077750fbffc5
parent8165842a9591ddc81ae7f9a0bd91fa4d51aa01d5 (diff)
parent27d738e61454263bede5872111928f9b42b8bae6 (diff)
downloadterraform-provider-statuscake-6f91d719dfbfc7ddc7fe37b449405d82685d38ac.tar.gz
terraform-provider-statuscake-6f91d719dfbfc7ddc7fe37b449405d82685d38ac.tar.zst
terraform-provider-statuscake-6f91d719dfbfc7ddc7fe37b449405d82685d38ac.zip
Merge branch 'statuscake_adding_contact_group' of https://github.com/ldjohnson/terraform into ldjohnson-statuscake_adding_contact_group
-rw-r--r--index.html.markdown1
-rw-r--r--r/test.html.markdown12
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
11The test resource allows StatusCake tests to be managed by Terraform. 11The 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" {
26The following arguments are supported: 27The 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
40The following attribute is exported: 42The 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.