Skip to content

Commit

Permalink
Fix broken links to AWS credentials/config doc
Browse files Browse the repository at this point in the history
AWS updated the boto3 documentation and in the process broke links to
the specific sections.
  • Loading branch information
tsibley committed Dec 22, 2020
1 parent f15b0a9 commit 80748e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions doc/aws-batch.md
Expand Up @@ -79,12 +79,12 @@ in the AWS Batch User Guide for more detailed information on container memory.

Your computer must be configured with credentials to access AWS.

Credentials can be provided via the [standard AWS environment variables](https://boto3.readthedocs.io/en/latest/guide/configuration.html#environment-variables)
Credentials can be provided via the [standard AWS environment variables](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#environment-variables)

export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...

or in the [`~/.aws/credentials` file](https://boto3.readthedocs.io/en/latest/guide/configuration.html#shared-credentials-file)
or in the [`~/.aws/credentials` file](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#shared-credentials-file)

[default]
aws_access_key_id=...
Expand All @@ -96,11 +96,11 @@ environment variables in every terminal where you want to use AWS.
### AWS region

If you plan to use an AWS region other than `us-east-1`, then you'll want to
set your selected region as a default, either via [the environment](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#environment-variable-configuration)
set your selected region as a default, either via [the environment](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#using-environment-variables)

export AWS_DEFAULT_REGION=...

or in the [`~/.aws/config` file](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#configuration-file)
or in the [`~/.aws/config` file](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#using-a-configuration-file)

[default]
region=...
Expand Down
4 changes: 2 additions & 2 deletions nextstrain/cli/command/remote/__init__.py
Expand Up @@ -18,11 +18,11 @@
More information at:
https://boto3.readthedocs.io/en/latest/guide/configuration.html#environment-variables
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#environment-variables
A persistent credentials file, ~/.aws/credentials, is also supported:
https://boto3.readthedocs.io/en/latest/guide/configuration.html#shared-credentials-file
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#shared-credentials-file
"""

Expand Down

0 comments on commit 80748e9

Please sign in to comment.