From: George Christou Date: Sat, 18 Feb 2017 22:48:50 +0000 (+0000) Subject: website/docs: Run `terraform fmt` on code examples (#12075) X-Git-Tag: v0.1.0~6^2~4 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=506e71e564ab3c6571b41626133e4eb6842123b3;p=github%2Ffretlink%2Fterraform-provider-statuscake.git 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 --- 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: * ``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 } ``` 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. ``` 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 } ```