Valentyne Stigloher 9434b9b5e4 (ts) convert usage of aws to TypeScript
params at client creation cannot be type checked, Bucket was explicitely added to each call
2024-03-28 13:56:07 +01:00

12 lines
256 B
TypeScript

export const awsConfig = {
region: process.env.AWS_REGION,
credentials: {
accessKeyId: process.env.AWS_KEY!,
secretAccessKey: process.env.AWS_SECRET!,
},
};
export const awsParams = {
Bucket: process.env.AWS_S3_BUCKET!,
};