website: Activate HCL syntax highlighting for Random provider docs

This commit is contained in:
Martin Atkins 2017-04-07 16:48:08 -07:00
parent 5fc7414076
commit af05871e65
4 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ the same until new random values are desired.
For example: For example:
``` ```hcl
resource "random_id" "server" { resource "random_id" "server" {
keepers = { keepers = {
# Generate a new id each time we switch to a new AMI id # Generate a new id each time we switch to a new AMI id

View File

@ -26,7 +26,7 @@ exist concurrently.
The following example shows how to generate a unique name for an AWS EC2 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. instance that changes each time a new AMI id is selected.
``` ```hcl
resource "random_id" "server" { resource "random_id" "server" {
keepers = { keepers = {
# Generate a new id each time we switch to a new AMI id # Generate a new id each time we switch to a new AMI id

View File

@ -21,7 +21,7 @@ exist concurrently.
The following example shows how to generate a unique pet name for an AWS EC2 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. instance that changes each time a new AMI id is selected.
``` ```hcl
resource "random_pet" "server" { resource "random_pet" "server" {
keepers = { keepers = {
# Generate a new pet name each time we switch to a new AMI id # Generate a new pet name each time we switch to a new AMI id

View File

@ -13,7 +13,7 @@ of strings given as an argument.
## Example Usage ## Example Usage
``` ```hcl
resource "random_shuffle" "az" { resource "random_shuffle" "az" {
input = ["us-west-1a", "us-west-1c", "us-west-1d", "us-west-1e"] input = ["us-west-1a", "us-west-1c", "us-west-1d", "us-west-1e"]
result_count = 2 result_count = 2