From 4d8a5e1c721926e93bb974ca33cfe0636cae54f2 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Wed, 27 May 2020 16:40:47 +0200 Subject: [PATCH 1/2] Update from-json-v1.mdx --- website/pages/guides/hcl/from-json-v1.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/guides/hcl/from-json-v1.mdx b/website/pages/guides/hcl/from-json-v1.mdx index 4c72648e8..1b447f4e3 100644 --- a/website/pages/guides/hcl/from-json-v1.mdx +++ b/website/pages/guides/hcl/from-json-v1.mdx @@ -63,7 +63,7 @@ source "amazon-ebs" "example" { instance_type = "t2.micro" source_ami_filter { - filters { + filters = { virtualization-type = "hvm" name = "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*" root-device-type = "ebs" From 851b354ac9244bca07d871625fa511fbcedaeed4 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Wed, 27 May 2020 16:51:44 +0200 Subject: [PATCH 2/2] more fixes --- website/pages/docs/from-1.5/syntax-json.mdx | 2 +- website/pages/docs/from-1.5/syntax.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/docs/from-1.5/syntax-json.mdx b/website/pages/docs/from-1.5/syntax-json.mdx index 0c43f668c..2eb90708f 100644 --- a/website/pages/docs/from-1.5/syntax-json.mdx +++ b/website/pages/docs/from-1.5/syntax-json.mdx @@ -163,7 +163,7 @@ The above is equivalent to the following native syntax configuration: ```hcl source "amazon-ebs" "example" { - tags { + tags = { key = "value" } } diff --git a/website/pages/docs/from-1.5/syntax.mdx b/website/pages/docs/from-1.5/syntax.mdx index 4f2eb8580..602d22512 100644 --- a/website/pages/docs/from-1.5/syntax.mdx +++ b/website/pages/docs/from-1.5/syntax.mdx @@ -64,7 +64,7 @@ A _block_ is a container for other content: source "amazon-ebs" "example" { ami_name = "abc123" - tags { + tags = { # ... } }