Update googlecompute.markdown

A very small hint that you can't just use "packer-images", since buckets need to be globally unique, and must already exist. Attempting to use that results in the error 'Got status 403 from attempt to start resumable upload. Aborting', 'ABORT'
This commit is contained in:
Brett Porter 2014-03-06 22:14:44 +11:00
parent a685937f0f
commit 8e91574ce2
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ files obtained in the previous section.
<pre class="prettyprint"> <pre class="prettyprint">
{ {
"type": "googlecompute", "type": "googlecompute",
"bucket_name": "packer-images", "bucket_name": "my-project-packer-images",
"client_secrets_file": "client_secret.json", "client_secrets_file": "client_secret.json",
"private_key_file": "XXXXXX-privatekey.p12", "private_key_file": "XXXXXX-privatekey.p12",
"project_id": "my-project", "project_id": "my-project",
@ -72,7 +72,7 @@ each category, the available options are alphabetized and described.
Required: Required:
* `bucket_name` (string) - The Google Cloud Storage bucket to store the * `bucket_name` (string) - The Google Cloud Storage bucket to store the
images that are created. images that are created. The bucket must already exist in your project.
* `client_secrets_file` (string) - The client secrets JSON file that * `client_secrets_file` (string) - The client secrets JSON file that
was set up in the section above. was set up in the section above.