From c33c5956a9fd3d662ac4e5fa3063bdf656531b2f Mon Sep 17 00:00:00 2001 From: Josh J Date: Thu, 23 Sep 2021 16:12:55 +0100 Subject: [PATCH] docs: add clarity around named profiles (#1262) Specifically that creds.json is now required for versions >3.8.0 when using named profiles, as well as the environment variables. --- docs/_providers/route53.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/_providers/route53.md b/docs/_providers/route53.md index 4e1996225..eaa8d1308 100644 --- a/docs/_providers/route53.md +++ b/docs/_providers/route53.md @@ -43,6 +43,20 @@ $ export AWS_SDK_LOAD_CONFIG=1 $ export AWS_PROFILE=ZZZZZZZZ ``` +Ensure you have a minimal creds.json file with the DNS Provider specified, otherwise versions above 3.8.0 will fail. So, for: + +``` +var R53_MAIN = NewDnsProvider('r53_main', 'ROUTE53'); +``` + +You will need a creds.json file with the following content: + +```json +{ + "R53_MAIN": {} +} +``` + You can find some other ways to authenticate to Route53 in the [go sdk configuration](https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html). ## Metadata