-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move AWS secrets from
.env
to lookit-api and add S3 error handling (#…
…85) * move AWS credentials from .env to lookit-api template, get credentials from document, throw errors for expired credentials * move creation of input and command into completeUpload try/catch in case one of the uploadPart promises throws an error, and catch an ExpiredCredentials error from uploadPart in the completeUpload catch block * add tests for missing and expired credentials in LookitS3 constructor * add tests for expired credentials errors in createUpload, uploadPart, and completeUpload * add changeset * Removed unneeded environment type file --------- Co-authored-by: CJ Green <[email protected]>
- Loading branch information
1 parent
7230f51
commit 9605ac4
Showing
8 changed files
with
309 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lookit/data": minor | ||
--- | ||
|
||
Move AWS secrets for video uploading from .env to lookit-api. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.