Skip to content

Commit

Permalink
New public bucket (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoxelox authored Dec 13, 2024
1 parent a1c9b43 commit a0f46fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apps/infra/src/core/s3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0f46fc

Please sign in to comment.