From dbfe1b29bffbdb94d3cea1a69d5ca2a2887dc733 Mon Sep 17 00:00:00 2001 From: Aidan Mundy Date: Fri, 23 Jun 2023 11:18:45 -0400 Subject: [PATCH] Add missing links to AWS credential guide --- docs/builders/docker.mdx | 12 ++++-------- docs/post-processors/docker-push.mdx | 9 +++------ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/docs/builders/docker.mdx b/docs/builders/docker.mdx index 30a59e5..c7e738e 100644 --- a/docs/builders/docker.mdx +++ b/docs/builders/docker.mdx @@ -222,12 +222,10 @@ 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 @@ -235,8 +233,7 @@ You must specify (only) one of `commit`, `discard`, or `export_path`. 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. @@ -654,8 +651,7 @@ and example configuration properties are shown below: -[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 diff --git a/docs/post-processors/docker-push.mdx b/docs/post-processors/docker-push.mdx index ce0cdf0..e033f70 100644 --- a/docs/post-processors/docker-push.mdx +++ b/docs/post-processors/docker-push.mdx @@ -19,12 +19,10 @@ 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 @@ -32,8 +30,7 @@ This post-processor has only optional configuration: 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