website: specify HCL syntax highlighting in the 0.11 upgrade guide

This commit is contained in:
Martin Atkins 2017-11-16 10:14:03 -08:00
parent 31ee29050e
commit f3f0b5356e
1 changed files with 4 additions and 4 deletions

View File

@ -172,7 +172,7 @@ all of the module's resources can be successfully refreshed and destroyed.
A common configuration is where two child modules have different configurations A common configuration is where two child modules have different configurations
for the same provider, like this: for the same provider, like this:
``` ```hcl
# root.tf # root.tf
module "network-use1" { module "network-use1" {
@ -186,7 +186,7 @@ module "network-usw2" {
} }
``` ```
``` ```hcl
# network/network.tf # network/network.tf
variable "region" { variable "region" {
@ -212,7 +212,7 @@ This can be addressed by moving the `provider` blocks into the root module
as _additional configurations_, and then passing them down to the child as _additional configurations_, and then passing them down to the child
modules as _default configurations_ via the explicit `providers` map: modules as _default configurations_ via the explicit `providers` map:
``` ```hcl
# root.tf # root.tf
provider "aws" { provider "aws" {
@ -242,7 +242,7 @@ module "network-usw2" {
} }
``` ```
``` ```hcl
# network/network.tf # network/network.tf
# Empty provider block signals that we expect a default (unaliased) "aws" # Empty provider block signals that we expect a default (unaliased) "aws"