aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorstack72 <public@paulstack.co.uk>2015-11-28 01:03:15 +0000
committerstack72 <public@paulstack.co.uk>2015-11-30 10:44:21 +0000
commitd3491090f8b1844d84b8d09394f11f28545b8355 (patch)
tree791cd241f065a8a8bd70b01714ffc347adcfe5d0
downloadterraform-provider-statuscake-d3491090f8b1844d84b8d09394f11f28545b8355.tar.gz
terraform-provider-statuscake-d3491090f8b1844d84b8d09394f11f28545b8355.tar.zst
terraform-provider-statuscake-d3491090f8b1844d84b8d09394f11f28545b8355.zip
Adding some documentation for the StatusCake provider
-rw-r--r--index.html.markdown38
-rw-r--r--r/test.html.markdown40
2 files changed, 78 insertions, 0 deletions
diff --git a/index.html.markdown b/index.html.markdown
new file mode 100644
index 0000000..150b36a
--- /dev/null
+++ b/index.html.markdown
@@ -0,0 +1,38 @@
1---
2layout: "statuscake"
3page_title: "Provider: StatusCake"
4sidebar_current: "docs-statuscake-index"
5description: |-
6 The StatusCake provider configures tests in StatusCake.
7---
8
9# StatusCake Provider
10
11The StatusCake provider allows Terraform to create and configure tests in [StatusCake](https://www.statuscake.com/). StatusCake is a tool that helps to
12monitor the uptime of your service via a network of monitoring centers throughout the world
13
14The provider configuration block accepts the following arguments:
15
16* ``username`` - (Required) The username for the statuscake account. May alternatively be set via the
17 ``STATUSCAKE_USERNAME`` environment variable.
18
19* ``apikey`` - (Required) The API auth token to use when making requests. May alternatively
20 be set via the ``STATUSCAKE_APIKEY`` environment variable.
21
22Use the navigation to the left to read about the available resources.
23
24## Example Usage
25
26```
27provider "statuscake" {
28 username = "testuser"
29 apikey = "12345ddfnakn"
30}
31
32resource "statuscake_test" "google" {
33 website_name = "google.com"
34 website_url = "www.google.com"
35 test_type = "HTTP"
36 check_rate = 300
37}
38```
diff --git a/r/test.html.markdown b/r/test.html.markdown
new file mode 100644
index 0000000..d2d1572
--- /dev/null
+++ b/r/test.html.markdown
@@ -0,0 +1,40 @@
1---
2layout: "statuscake"
3page_title: "StatusCake: statuscake_test"
4sidebar_current: "docs-statuscake-test"
5description: |-
6 The statuscake_test resource allows StatusCake tests to be managed by Terraform.
7---
8
9# statuscake\_test
10
11The test resource allows StatusCake tests to be managed by Terraform.
12
13## Example Usage
14
15```
16resource "statuscake_test" "google" {
17 website_name = "google.com"
18 website_url = "www.google.com"
19 test_type = "HTTP"
20 check_rate = 300
21}
22```
23
24## Argument Reference
25
26The following arguments are supported:
27
28* `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* `check_rate` - (Optional) Test check rate in seconds. Defaults to 300
31* `test_type` - (Required) The type of Test. Either HTTP or TCP
32* `paused` - (Optional) Whether or not the test is paused. Defaults to false.
33* `timeout` - (Optional) The timeout of the test in seconds.
34
35
36## Attributes Reference
37
38The following attribute is exported:
39
40* `test_id` - A unique identifier for the test. \ No newline at end of file