Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add missing links to AWS credential guide #156

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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