I guess it needs this?

This commit is contained in:
Atridad Lahiji 2024-01-19 15:39:27 -07:00
parent f31739a59b
commit e283e65868
No known key found for this signature in database

View file

@ -22,6 +22,7 @@ func UploadToS3(filePath string) (*s3manager.UploadOutput, error) {
secretAccessKey := os.Getenv("AWS_SECRET_ACCESS_KEY")
sess, err := session.NewSession(&aws.Config{
Region: aws.String("us-west-2"),
Credentials: credentials.NewStaticCredentials(
accessKeyID,
secretAccessKey,