aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGeorge Christou <gechr@users.noreply.github.com>2017-02-18 22:48:50 +0000
committerPaul Stack <public@paulstack.co.uk>2017-02-19 00:48:50 +0200
commit506e71e564ab3c6571b41626133e4eb6842123b3 (patch)
tree896b9531e9e85e97b42c33be609f793217b46aff
parent46abe9530a669caa00077d66688ae26bc5560238 (diff)
downloadterraform-provider-statuscake-506e71e564ab3c6571b41626133e4eb6842123b3.tar.gz
terraform-provider-statuscake-506e71e564ab3c6571b41626133e4eb6842123b3.tar.zst
terraform-provider-statuscake-506e71e564ab3c6571b41626133e4eb6842123b3.zip
website/docs: Run `terraform fmt` on code examples (#12075)
* docs/vsphere: Fix code block * docs: Convert `...` to `# ...` to allow `terraform fmt`ing * docs: Trim trailing whitespace * docs: First-pass run of `terraform fmt` on code examples
-rw-r--r--index.html.markdown16
-rw-r--r--r/test.html.markdown10
2 files changed, 13 insertions, 13 deletions
diff --git a/index.html.markdown b/index.html.markdown
index 443e892..9a4d0fb 100644
--- a/index.html.markdown
+++ b/index.html.markdown
@@ -18,22 +18,22 @@ The provider configuration block accepts the following arguments:
18 18
19* ``apikey`` - (Required) The API auth token to use when making requests. May alternatively 19* ``apikey`` - (Required) The API auth token to use when making requests. May alternatively
20 be set via the ``STATUSCAKE_APIKEY`` environment variable. 20 be set via the ``STATUSCAKE_APIKEY`` environment variable.
21 21
22Use the navigation to the left to read about the available resources. 22Use the navigation to the left to read about the available resources.
23 23
24## Example Usage 24## Example Usage
25 25
26``` 26```
27provider "statuscake" { 27provider "statuscake" {
28 username = "testuser" 28 username = "testuser"
29 apikey = "12345ddfnakn" 29 apikey = "12345ddfnakn"
30} 30}
31 31
32resource "statuscake_test" "google" { 32resource "statuscake_test" "google" {
33 website_name = "google.com" 33 website_name = "google.com"
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 contact_id = 12345
38} 38}
39``` 39```
diff --git a/r/test.html.markdown b/r/test.html.markdown
index 61ddb3e..2912afe 100644
--- a/r/test.html.markdown
+++ b/r/test.html.markdown
@@ -14,11 +14,11 @@ The test resource allows StatusCake tests to be managed by Terraform.
14 14
15``` 15```
16resource "statuscake_test" "google" { 16resource "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_id = 12345
22} 22}
23``` 23```
24 24