Skip to content

Commit

Permalink
Merge pull request #156 from hashicorp/aidan-mundy/add-missing-aws-cr…
Browse files Browse the repository at this point in the history
…edential-links

docs: Add missing links to AWS credential guide
  • Loading branch information
aidan-mundy committed Jun 23, 2023
2 parents 56156b6 + dbfe1b2 commit 3d21f3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
12 changes: 4 additions & 8 deletions docs/builders/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -222,21 +222,18 @@ You must specify (only) one of `commit`, `discard`, or `export_path`.
### Optional:

- `aws_access_key` (string) - The AWS access key used to communicate with
AWS. Learn how to set
this.
AWS. [Learn how to set this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

- `aws_secret_key` (string) - The AWS secret key used to communicate with
AWS. Learn how to set
this.
AWS. [Learn how to set this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

- `aws_token` (string) - The AWS access token to use. This is different from
the access key and secret key. If you're not sure what this is, then you
probably don't need it. This will also be read from the AWS_SESSION_TOKEN
environmental variable.

- `aws_profile` (string) - The AWS shared credentials profile used to
communicate with AWS. Learn how to set
this.
communicate with AWS. [Learn how to set this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

- `author` (string) - Set the author (e-mail) of a commit.

Expand Down Expand Up @@ -654,8 +651,7 @@ and example configuration properties are shown below:
</Tab>
</Tabs>

[Learn how to set Amazon AWS
credentials.](/packer/plugins/builders/amazon#specifying-amazon-credentials)
[Learn how to set Amazon AWS credentials.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

## Dockerfiles

Expand Down
9 changes: 3 additions & 6 deletions docs/post-processors/docker-push.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,18 @@ pushes it to a Docker registry.
This post-processor has only optional configuration:

- `aws_access_key` (string) - The AWS access key used to communicate with
AWS. [Learn how to set
this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)
AWS. [Learn how to set this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

- `aws_secret_key` (string) - The AWS secret key used to communicate with
AWS. [Learn how to set
this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)
AWS. [Learn how to set this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

- `aws_token` (string) - The AWS access token to use. This is different from
the access key and secret key. If you're not sure what this is, then you
probably don't need it. This will also be read from the `AWS_SESSION_TOKEN`
environmental variable.

- `aws_profile` (string) - The AWS shared credentials profile used to
communicate with AWS. [Learn how to set
this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)
communicate with AWS. [Learn how to set this.](/packer/plugins/builders/amazon#specifying-amazon-credentials)

- `ecr_login` (boolean) - Defaults to false. If true, the post-processor will
login in order to push the image to [Amazon EC2 Container Registry
Expand Down

0 comments on commit 3d21f3b

Please sign in to comment.