aws/session: Fix testing bug in non-dev environment
@@ -91,6 +91,7 @@ func TestSessionCopy(t *testing.T) {
func TestSessionClientConfig(t *testing.T) {
s, err := NewSession(&aws.Config{
+ Credentials: credentials.AnonymousCredentials,
Region: aws.String("orig_region"),
EndpointResolver: endpoints.ResolverFunc(
func(service, region string, opts ...func(*endpoints.Options)) (endpoints.ResolvedEndpoint, error) {
