From d3491090f8b1844d84b8d09394f11f28545b8355 Mon Sep 17 00:00:00 2001 From: stack72 Date: Sat, 28 Nov 2015 01:03:15 +0000 Subject: Adding some documentation for the StatusCake provider --- index.html.markdown | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 index.html.markdown (limited to 'index.html.markdown') 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 @@ +--- +layout: "statuscake" +page_title: "Provider: StatusCake" +sidebar_current: "docs-statuscake-index" +description: |- + The StatusCake provider configures tests in StatusCake. +--- + +# StatusCake Provider + +The StatusCake provider allows Terraform to create and configure tests in [StatusCake](https://www.statuscake.com/). StatusCake is a tool that helps to +monitor the uptime of your service via a network of monitoring centers throughout the world + +The provider configuration block accepts the following arguments: + +* ``username`` - (Required) The username for the statuscake account. May alternatively be set via the + ``STATUSCAKE_USERNAME`` environment variable. + +* ``apikey`` - (Required) The API auth token to use when making requests. May alternatively + be set via the ``STATUSCAKE_APIKEY`` environment variable. + +Use the navigation to the left to read about the available resources. + +## Example Usage + +``` +provider "statuscake" { + username = "testuser" + apikey = "12345ddfnakn" +} + +resource "statuscake_test" "google" { + website_name = "google.com" + website_url = "www.google.com" + test_type = "HTTP" + check_rate = 300 +} +``` -- cgit v1.2.3