From fbb94299108a5a07e8742c8e5ebe1f44f4bc75f1 Mon Sep 17 00:00:00 2001 From: Kaivalya Shah Date: Mon, 29 Mar 2021 14:30:42 +0530 Subject: [PATCH] HCL2 example syntax changes (#10832) An HCL2 example contained commas to separate the lines, and the metadata block did not have the equals sign, which is not valid. --- website/content/docs/builders/googlecompute.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/content/docs/builders/googlecompute.mdx b/website/content/docs/builders/googlecompute.mdx index a5569f8c8..2db9489c8 100644 --- a/website/content/docs/builders/googlecompute.mdx +++ b/website/content/docs/builders/googlecompute.mdx @@ -215,13 +215,13 @@ source "googlecompute" "windows-example" { project_id = "MY_PROJECT" source_image = "windows-server-2019-dc-v20200813" zone = "us-central1-a" - disk_size = 50, - machine_type = "n1-standard-2", - communicator ="winrm", - winrm_username = "packer_user", - winrm_insecure = true, - winrm_use_ssl = true, - metadata { + disk_size = 50 + machine_type = "n1-standard-2" + communicator = "winrm" + winrm_username = "packer_user" + winrm_insecure = true + winrm_use_ssl = true + metadata = { windows-startup-script-cmd = "winrm quickconfig -quiet & net user /add packer_user & net localgroup administrators packer_user /add & winrm set winrm/config/service/auth @{Basic=\"true\"}" } }