]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/commitdiff
website/docs: Run `terraform fmt` on code examples (#12075)
authorGeorge Christou <gechr@users.noreply.github.com>
Sat, 18 Feb 2017 22:48:50 +0000 (22:48 +0000)
committerPaul Stack <public@paulstack.co.uk>
Sat, 18 Feb 2017 22:48:50 +0000 (00:48 +0200)
* 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

index.html.markdown
r/test.html.markdown

index 443e892d68116a5b3ec735725aa3d7154dc3438f..9a4d0fb2989858aae74c4076f11fb9a52ee0aa2a 100644 (file)
@@ -18,22 +18,22 @@ The provider configuration block accepts the following arguments:
 
 * ``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"
+  username = "testuser"
+  apikey   = "12345ddfnakn"
 }
 
 resource "statuscake_test" "google" {
-    website_name = "google.com"
-    website_url = "www.google.com"
-    test_type = "HTTP"
-    check_rate = 300
-    contact_id = 12345
+  website_name = "google.com"
+  website_url  = "www.google.com"
+  test_type    = "HTTP"
+  check_rate   = 300
+  contact_id   = 12345
 }
 ```
index 61ddb3ef62f799f05a015c81caa75444c62fe44b..2912afedf91d3d92ac30cb51977d838b03c3f187 100644 (file)
@@ -14,11 +14,11 @@ The test resource allows StatusCake tests to be managed by Terraform.
 
 ```
 resource "statuscake_test" "google" {
-    website_name = "google.com"
-    website_url = "www.google.com"
-    test_type = "HTTP"
-    check_rate = 300
-    contact_id = 12345
+  website_name = "google.com"
+  website_url  = "www.google.com"
+  test_type    = "HTTP"
+  check_rate   = 300
+  contact_id   = 12345
 }
 ```