Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Note for executing the first build on Windows
Browse files Browse the repository at this point in the history
The first packer build command includes passing AWS access key and secret key as variables. On Windows, the single quotes must be replaced with double quotes or an AWS error occurs. This may not be obvious to everyone, hence a note. The AWS error (as below) is not adequately self-explanatory. 

Build 'amazon-ebs' errored: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors
  • Loading branch information
sourabhpawar authored Aug 21, 2016
1 parent 6cd7ad8 commit 103a8a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/source/intro/getting-started/build-image.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ With a properly validated template. It is time to build your first image. This
is done by calling `packer build` with the template file. The output should look
similar to below. Note that this process typically takes a few minutes.

-> **Note:** When using packer on Windows, replace the single-quotes in the
command below with double-quotes.


``` {.text}
$ packer build \
-var 'aws_access_key=YOUR ACCESS KEY' \
Expand Down

0 comments on commit 103a8a9

Please sign in to comment.