Skip to content

Commit

Permalink
Update messaging, it is used in the backend also (#31)
Browse files Browse the repository at this point in the history
* Update messaging, it is used in the backend also

* Fix test copy

Co-authored-by: Brian Flad <bflad417@gmail.com>
  • Loading branch information
paultyng and bflad authored Jun 3, 2020
1 parent 1b8f7d1 commit a5d46a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions awsauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a5d46a2

Please sign in to comment.