diff --git a/awsauth.go b/awsauth.go index c11a0d1d..1451673a 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.` // Default amount of time for EC2/ECS metadata client operations. // Keep this value low to prevent long delays in non-EC2/ECS environments. diff --git a/session_test.go b/session_test.go index 517c6677..879670ac 100644 --- a/session_test.go +++ b/session_test.go @@ -1097,7 +1097,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 _, testCase := range testCases {