From a0f46fcac727e4cfc97b8d082ebd5cf68c423e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Rodr=C3=ADguez?= Date: Fri, 13 Dec 2024 12:18:28 +0100 Subject: [PATCH] New public bucket (#718) --- apps/infra/src/core/s3.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/infra/src/core/s3.ts b/apps/infra/src/core/s3.ts index 1b51513ab..873920f98 100644 --- a/apps/infra/src/core/s3.ts +++ b/apps/infra/src/core/s3.ts @@ -18,3 +18,18 @@ export const bucket = new aws.s3.BucketV2( ) export const bucketName = bucket.bucket + +export const publicBucket = new aws.s3.BucketV2( + 'publicLatitudeBucketResource', + { + acl: 'private', // Only allowing access through signed urls + bucket: 'latitude-llm-public-bucket-production', + tags: { + Name: 'Latitude LLM public bucket', + Environment: 'Production', + }, + }, + { provider: regionProvider }, +) + +export const publicBucketName = publicBucket.bucket