From af05871e653a21cf276e57e3e0f1bd30b31e11f5 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 7 Apr 2017 16:48:08 -0700 Subject: [PATCH] website: Activate HCL syntax highlighting for Random provider docs --- website/source/docs/providers/random/index.html.markdown | 2 +- website/source/docs/providers/random/r/id.html.md | 2 +- website/source/docs/providers/random/r/pet.html.md | 2 +- website/source/docs/providers/random/r/shuffle.html.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/source/docs/providers/random/index.html.markdown b/website/source/docs/providers/random/index.html.markdown index 32bf038d8..234b00106 100644 --- a/website/source/docs/providers/random/index.html.markdown +++ b/website/source/docs/providers/random/index.html.markdown @@ -43,7 +43,7 @@ the same until new random values are desired. For example: -``` +```hcl resource "random_id" "server" { keepers = { # Generate a new id each time we switch to a new AMI id diff --git a/website/source/docs/providers/random/r/id.html.md b/website/source/docs/providers/random/r/id.html.md index a7a94a407..b06e04013 100644 --- a/website/source/docs/providers/random/r/id.html.md +++ b/website/source/docs/providers/random/r/id.html.md @@ -26,7 +26,7 @@ exist concurrently. The following example shows how to generate a unique name for an AWS EC2 instance that changes each time a new AMI id is selected. -``` +```hcl resource "random_id" "server" { keepers = { # Generate a new id each time we switch to a new AMI id diff --git a/website/source/docs/providers/random/r/pet.html.md b/website/source/docs/providers/random/r/pet.html.md index 86b457a7a..56068237b 100644 --- a/website/source/docs/providers/random/r/pet.html.md +++ b/website/source/docs/providers/random/r/pet.html.md @@ -21,7 +21,7 @@ exist concurrently. The following example shows how to generate a unique pet name for an AWS EC2 instance that changes each time a new AMI id is selected. -``` +```hcl resource "random_pet" "server" { keepers = { # Generate a new pet name each time we switch to a new AMI id diff --git a/website/source/docs/providers/random/r/shuffle.html.md b/website/source/docs/providers/random/r/shuffle.html.md index bfae65bca..9204df791 100644 --- a/website/source/docs/providers/random/r/shuffle.html.md +++ b/website/source/docs/providers/random/r/shuffle.html.md @@ -13,7 +13,7 @@ of strings given as an argument. ## Example Usage -``` +```hcl resource "random_shuffle" "az" { input = ["us-west-1a", "us-west-1c", "us-west-1d", "us-west-1e"] result_count = 2