Description
https://godoc.org/github.com/aws/aws-sdk-go-v2/aws/stscreds#hdr-Assume_Role
aws.NewCredentials
for example doesn't exist!
I think it should be something like:
cfg.Credentials = stscreds.NewAssumeRoleProvider(sts.New(cfg), role)
s3svc := s3.New(cfg)
Is it possible validate your examples as part of your CI?