Cloudwatch: prefer webIdentity over EC2 role (#23452)
This commit is contained in:
@@ -58,8 +58,8 @@ func (u *S3Uploader) Upload(ctx context.Context, imageDiskPath string) (string,
|
||||
SecretAccessKey: u.secretKey,
|
||||
}},
|
||||
&credentials.EnvProvider{},
|
||||
remoteCredProvider(sess),
|
||||
webIdentityProvider(sess),
|
||||
remoteCredProvider(sess),
|
||||
})
|
||||
cfg := &aws.Config{
|
||||
Region: aws.String(u.region),
|
||||
|
||||
Reference in New Issue
Block a user