From 433c7673fb1b3d317feb69116717a9b4355b5e89 Mon Sep 17 00:00:00 2001 From: Dana Merrick Date: Thu, 16 Jan 2014 12:03:56 -0800 Subject: [PATCH] Updating the googlecompute builder documentation. --- .../source/docs/builders/googlecompute.markdown | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/website/source/docs/builders/googlecompute.markdown b/website/source/docs/builders/googlecompute.markdown index d68105177..6443a530a 100644 --- a/website/source/docs/builders/googlecompute.markdown +++ b/website/source/docs/builders/googlecompute.markdown @@ -28,16 +28,10 @@ Follow the steps below: 2. Click on the project you want to use Packer with (or create one if you don't have one yet). 3. Click "APIs & auth" in the left sidebar -4. Click "Registered apps" in the left sidebar -5. Click "Register App" and register a "Web Application". Choose any - name you'd like. -7. After creating the app, click "Certificate" (below the OAuth 2.0 Client - ID section), and click "Download JSON". This is your _client secrets JSON_ - file. Make sure you didn't download the JSON from the "OAuth 2.0" section! - This is a common mistake and will cause the builder to not work. -8. Next, click "Generate Certificate". You should be prompted to download - a private key. Note the password for the private key! This private key - is your _client private key_. +4. Click "Credentials" in the left sidebar +5. Click "Create New Client ID" and choose "Service Account" +6. A private key will be downloaded for you. Note the password for the private key! This private key is your _client private key_. +7. After creating the account, click "Download JSON". This is your _client secrets JSON_ file. Make sure you didn't download the JSON from the "OAuth 2.0" section! This is a common mistake and will cause the builder to not work. Finally, one last step, you'll have to convert the `p12` file you got from Google into the PEM format. You can do this with OpenSSL, which