From a7de9d9a2fb68cfa830476f796783afa5b37d2e8 Mon Sep 17 00:00:00 2001 From: Adron Hall Date: Thu, 14 Jul 2016 07:05:46 -0700 Subject: [PATCH] Changed based level example so it can be copied. The base level example doesn't actually work unless enclosed with a "builders" section. All fixed now. Previous: { "type": "googlecompute", "account_file": "account.json", "project_id": "my project", "source_image": "debian-7-wheezy-v20150127", "zone": "us-central1-a" } Now: { "builders": [ { "type": "googlecompute", "account_file": "account.json", "project_id": "my project", "source_image": "debian-7-wheezy-v20150127", "zone": "us-central1-a" } ] } --- website/source/docs/builders/googlecompute.html.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/website/source/docs/builders/googlecompute.html.md b/website/source/docs/builders/googlecompute.html.md index 63f988a47..82e3cb5e0 100644 --- a/website/source/docs/builders/googlecompute.html.md +++ b/website/source/docs/builders/googlecompute.html.md @@ -83,11 +83,15 @@ the path to the file containing the JSON. ``` {.javascript} { - "type": "googlecompute", - "account_file": "account.json", - "project_id": "my-project", - "source_image": "debian-7-wheezy-v20150127", - "zone": "us-central1-a" + "builders": [ + { + "type": "googlecompute", + "account_file": "account.json", + "project_id": "my project", + "source_image": "debian-7-wheezy-v20150127", + "zone": "us-central1-a" + } + ] } ```