diff --git a/website/docs/d/db_snapshot.html.markdown b/website/docs/d/db_snapshot.html.markdown index d4b5f3347b4..43c07112b47 100644 --- a/website/docs/d/db_snapshot.html.markdown +++ b/website/docs/d/db_snapshot.html.markdown @@ -14,7 +14,7 @@ Use this data source to get information about a DB Snapshot for use when provisi ## Example Usage -``` +```hcl resource "aws_db_instance" "default" { allocated_storage = 10 engine = "mysql" diff --git a/website/docs/d/kinesis_stream.html.markdown b/website/docs/d/kinesis_stream.html.markdown index 50863cd37d8..a764073db95 100644 --- a/website/docs/d/kinesis_stream.html.markdown +++ b/website/docs/d/kinesis_stream.html.markdown @@ -15,7 +15,7 @@ For more details, see the [Amazon Kinesis Documentation][1]. ## Example Usage -``` +```hcl data "aws_kinesis_stream" "stream" { name = "stream-name" } diff --git a/website/docs/r/api_gateway_method.html.markdown b/website/docs/r/api_gateway_method.html.markdown index 6767647c2ac..c85b2137d16 100644 --- a/website/docs/r/api_gateway_method.html.markdown +++ b/website/docs/r/api_gateway_method.html.markdown @@ -48,7 +48,7 @@ The following arguments are supported: * `request_validator_id` - (Optional) The ID of a `aws_api_gateway_request_validator` * `request_parameters` - (Optional) A map of request query string parameters and headers that should be passed to the integration. For example: -``` +```hcl request_parameters = { "method.request.header.X-Some-Header" = true, "method.request.querystring.some-query-param" = true, diff --git a/website/docs/r/autoscaling_group.html.markdown b/website/docs/r/autoscaling_group.html.markdown index 19d4933c742..8f54dd11d46 100644 --- a/website/docs/r/autoscaling_group.html.markdown +++ b/website/docs/r/autoscaling_group.html.markdown @@ -66,7 +66,7 @@ EOF ## Interpolated tags -``` +```hcl variable extra_tags { default = [ { diff --git a/website/docs/r/cognito_identity_pool.markdown b/website/docs/r/cognito_identity_pool.markdown index b47f5aeb26a..9df04b7dd13 100644 --- a/website/docs/r/cognito_identity_pool.markdown +++ b/website/docs/r/cognito_identity_pool.markdown @@ -12,7 +12,7 @@ Provides an AWS Cognito Identity Pool. ## Example Usage -``` +```hcl resource "aws_iam_saml_provider" "default" { name = "my-saml-provider" saml_metadata_document = "${file("saml-metadata.xml")}" diff --git a/website/docs/r/cognito_identity_pool_roles_attachment.markdown b/website/docs/r/cognito_identity_pool_roles_attachment.markdown index 2be8da7f0be..1f572c78cec 100644 --- a/website/docs/r/cognito_identity_pool_roles_attachment.markdown +++ b/website/docs/r/cognito_identity_pool_roles_attachment.markdown @@ -12,7 +12,7 @@ Provides an AWS Cognito Identity Pool Roles Attachment. ## Example Usage -``` +```hcl resource "aws_cognito_identity_pool" "main" { identity_pool_name = "identity pool" allow_unauthenticated_identities = false diff --git a/website/docs/r/db_snapshot.html.md b/website/docs/r/db_snapshot.html.md index a667e352015..443f5c0bb3d 100644 --- a/website/docs/r/db_snapshot.html.md +++ b/website/docs/r/db_snapshot.html.md @@ -12,7 +12,7 @@ Creates a Snapshot of an DB Instance. ## Example Usage -``` +```hcl resource "aws_db_instance" "bar" { allocated_storage = 10 engine = "MySQL" diff --git a/website/docs/r/default_subnet.html.markdown b/website/docs/r/default_subnet.html.markdown index db895669f93..3f3ba20638a 100644 --- a/website/docs/r/default_subnet.html.markdown +++ b/website/docs/r/default_subnet.html.markdown @@ -19,7 +19,7 @@ into management. Basic usage with tags: -``` +```hcl resource "aws_default_subnet" "default_az1" { availability_zone = "us-west-2a" diff --git a/website/docs/r/default_vpc.html.markdown b/website/docs/r/default_vpc.html.markdown index ab9409bde2e..f8f63de50f5 100644 --- a/website/docs/r/default_vpc.html.markdown +++ b/website/docs/r/default_vpc.html.markdown @@ -23,7 +23,7 @@ into management. Basic usage with tags: -``` +```hcl resource "aws_default_vpc" "default" { tags { Name = "Default VPC" diff --git a/website/docs/r/default_vpc_dhcp_options.html.markdown b/website/docs/r/default_vpc_dhcp_options.html.markdown index 664caf2e275..50e74d04c29 100644 --- a/website/docs/r/default_vpc_dhcp_options.html.markdown +++ b/website/docs/r/default_vpc_dhcp_options.html.markdown @@ -23,7 +23,7 @@ into management. Basic usage with tags: -``` +```hcl resource "aws_default_vpc_dhcp_options" "default" { tags { Name = "Default DHCP Option Set" diff --git a/website/docs/r/ecs_task_definition.html.markdown b/website/docs/r/ecs_task_definition.html.markdown index 3bb1a87306c..3973f7d6f73 100644 --- a/website/docs/r/ecs_task_definition.html.markdown +++ b/website/docs/r/ecs_task_definition.html.markdown @@ -34,7 +34,7 @@ which is shown below, and its content is going to be passed directly into the `container_definitions` attribute as a string. Please note that this example contains only a small subset of the available parameters. -``` +```json [ { "name": "first", diff --git a/website/docs/r/emr_cluster.html.md b/website/docs/r/emr_cluster.html.md index 6b2bc6bb8f9..12fd848b357 100644 --- a/website/docs/r/emr_cluster.html.md +++ b/website/docs/r/emr_cluster.html.md @@ -176,7 +176,7 @@ boot an example EMR Cluster. It is not meant to display best practices. Please use at your own risk. -``` +```hcl provider "aws" { region = "us-west-2" } diff --git a/website/docs/r/flow_log.html.markdown b/website/docs/r/flow_log.html.markdown index d4972a626f3..3e54f6fa2f2 100644 --- a/website/docs/r/flow_log.html.markdown +++ b/website/docs/r/flow_log.html.markdown @@ -11,7 +11,7 @@ description: |- Provides a VPC/Subnet/ENI Flow Log to capture IP traffic for a specific network interface, subnet, or VPC. Logs are sent to a CloudWatch Log Group. -``` +```hcl resource "aws_flow_log" "test_flow_log" { log_group_name = "${aws_cloudwatch_log_group.test_log_group.name}" iam_role_arn = "${aws_iam_role.test_role.arn}" diff --git a/website/docs/r/network_interface_attachment.html.markdown b/website/docs/r/network_interface_attachment.html.markdown index fd12d70b668..5975d32efe4 100644 --- a/website/docs/r/network_interface_attachment.html.markdown +++ b/website/docs/r/network_interface_attachment.html.markdown @@ -12,7 +12,7 @@ Attach an Elastic network interface (ENI) resource with EC2 instance. ## Example Usage -``` +```hcl resource "aws_network_interface_attachment" "test" { instance_id = "${aws_instance.test.id}" network_interface_id = "${aws_network_interface.test.id}" diff --git a/website/docs/r/wafregional_byte_match_set.html.markdown b/website/docs/r/wafregional_byte_match_set.html.markdown index 90e3dcca67a..efaf11ace92 100644 --- a/website/docs/r/wafregional_byte_match_set.html.markdown +++ b/website/docs/r/wafregional_byte_match_set.html.markdown @@ -12,7 +12,7 @@ Provides a WAF Regional Byte Match Set Resource for use with Application Load Ba ## Example Usage -``` +```hcl resource "aws_wafregional_byte_match_set" "byte_set" { name = "tf_waf_byte_match_set" byte_match_tuple { diff --git a/website/docs/r/wafregional_ipset.html.markdown b/website/docs/r/wafregional_ipset.html.markdown index a3d8cb3656c..aa6b11985cb 100644 --- a/website/docs/r/wafregional_ipset.html.markdown +++ b/website/docs/r/wafregional_ipset.html.markdown @@ -12,7 +12,7 @@ Provides a WAF Regional IPSet Resource for use with Application Load Balancer. ## Example Usage -``` +```hcl resource "aws_wafregional_ipset" "ipset" { name = "tfIPSet" ip_set_descriptor {