Skip to content

Commit 6852c7f

Browse files
committed
shot in the dark, attempt to fix db tests - 2
1 parent 1c51640 commit 6852c7f

File tree

1 file changed

+1
-1
lines changed
  • lib/srv/discovery/fetchers

1 file changed

+1
-1
lines changed

lib/srv/discovery/fetchers/eks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ func (a *eksFetcher) setCallerIdentity(ctx context.Context) error {
721721
a.stsClient, err = a.ClientGetter.GetAWSSTSClient(
722722
ctx,
723723
a.Region,
724-
a.getAWSOpts()...,
724+
awsconfig.WithAmbientCredentials(),
725725
)
726726
if err != nil {
727727
return trace.Wrap(err)

0 commit comments

Comments
 (0)