Skip to content

Commit f172f91

Browse files
authored
Update account id mismatch error message for aws auth (#1934)
1 parent ca760d6 commit f172f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/endpoints/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func ErrorAuthInvalid() error {
7777
func ErrorAuthOtherAccount() error {
7878
return errors.WithStack(&errors.Error{
7979
Kind: ErrAuthOtherAccount,
80-
Message: "the AWS account associated with your CLI's AWS credentials differs from the AWS account associated with your cluster's AWS credentials; run `cortex env configure` to configure your environment with credentials for any IAM user in the same AWS account as your cluster",
80+
Message: "the AWS account associated with your CLI's AWS credentials differs from the AWS account associated with your cluster's AWS credentials; run `aws sts get-caller-identity` to view the credentials being used by the cortex client",
8181
})
8282
}
8383

0 commit comments

Comments
 (0)