Comments (5)
Hi. Would you mind providing a reproduction repository?
from turborepo-remote-cache.
@fox1t I just clicked on the Deploy to Vercel
button and set up the environment variables. The repository is exactly the same as this.
from turborepo-remote-cache.
I ran into the same issue. I think the problem is, that the vercel deploy link contains S3_ACCESS_KEY
and S3_SECRET_KEY
instead of AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
. But those AWS_
vars can not be set on vercel, because they are protected.
According to the docs the aws-sdk doesn't look for those S3_
vars. I'm not sure if that was different in the past?
One easy fix could be sticking with the S3_
vars and settings those manually.
// src/plugins/remote-cache/storage/s3.ts
// ...
export function createS3({ bucket, endpoint }: S3Options) {
aws.config.update({
accessKeyId: process.env.S3_ACCESS_KEY,
secretAccessKey: process.env.S3_SECRET_KEY,
region: process.env.S3_REGION,
signatureVersion: 'v4',
})
const client = new aws.S3({
// ...
from turborepo-remote-cache.
This is a good point! We should remap the AWS_
to S3_
ones. Would you mind open a PR?
from turborepo-remote-cache.
from turborepo-remote-cache.
Related Issues (20)
- Consider removing @vercel/node from the dependencies HOT 8
- Support Cloudflare Workers HOT 7
- Legacy `fox1t/turborepo-remote-cache` image will be redirected to `ducktors/turborepo-remote-cache`
- ERR_STREAM_PREMATURE_CLOSE on PUT Artifact with Azure Blob Storage implementation HOT 3
- Current state of main branch is not deployable to vercel.
- Lambda/API Gateway integration not working HOT 15
- apiUrl is not working HOT 2
- Dynamic authorization tokens HOT 3
- Help request - configured with s3, issue in the server log HOT 7
- Remote caching disabled since turbo 1.9.4 HOT 5
- Free Hosted Remote Cache discontinued
- Incompatible with Yarn/npm, or Node <18 HOT 1
- [email protected] is no longer supported
- fastify-warning is renamed to process-warning
- querystring API is considered Legacy
- Upgrade uuid to version 7 or higher HOT 1
- request has been deprecated
- azure-storage has been deprecated HOT 1
- Option to log to file HOT 1
- Support read-only mode to prevent unwanted cache update HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turborepo-remote-cache.