From 8e89a3b3220675c8d11f28828822977539912725 Mon Sep 17 00:00:00 2001 From: Paul Tyng Date: Mon, 1 Jun 2020 09:33:00 -0400 Subject: [PATCH 1/2] Update messaging, it is used in the backend also --- awsauth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awsauth.go b/awsauth.go index 53116203..02fa5559 100644 --- a/awsauth.go +++ b/awsauth.go @@ -24,9 +24,9 @@ import ( const ( // errMsgNoValidCredentialSources error getting credentials - errMsgNoValidCredentialSources = `No valid credential sources found for AWS Provider. + errMsgNoValidCredentialSources = `No valid credential sources found for AWS. Please see https://terraform.io/docs/providers/aws/index.html for more information on - providing credentials for the AWS Provider` + providing credentials for the AWS Provider and Backend.` ) var ( From 615105a55c303f50b7c06c5a413a16820fc1ccb1 Mon Sep 17 00:00:00 2001 From: Paul Tyng Date: Mon, 1 Jun 2020 09:39:20 -0400 Subject: [PATCH 2/2] Fix test copy --- session_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session_test.go b/session_test.go index cb841353..08b3ef34 100644 --- a/session_test.go +++ b/session_test.go @@ -135,7 +135,7 @@ func TestGetSessionWithAccountIDAndPartition(t *testing.T) { Region: "us-west-2", UserAgentProducts: []*UserAgentProduct{{}}, StsEndpoint: ts.URL}, - "", "", "No valid credential sources found for AWS Provider."}, + "", "", "No valid credential sources found for AWS."}, } for _, tc := range tt {