Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue #1659] Create general purpose s3 bucket #1762

Merged
merged 5 commits into from
Apr 17, 2024
Merged

Conversation

coilysiren
Copy link
Collaborator

Summary

Fixes #1659

Time to review: 4 mins

Changes proposed

Adds a "General Purpose" s3 bucket to all of our services. The s3 bucket exposes its location via the S3_BUCKET_ARN environment variable. I assume this is going to be a long lived general purpose s3 bucket for... random stuff. Whatever you might want an S3 bucket for. It's also specifically for populating seed data, eg. #1659

Context for reviewers

The S3 bucket itself is a near exact copy of the s3 bucket that we use for access logs.

Additional information

Note that the s3 bucket arn format is like so: arn:aws:s3:::api-dev-general-purpose20240416221336163000000001. You probably want to .split(":")[-1] it to get just the name.

@coilysiren
Copy link
Collaborator Author

If this looks good, then I guess I can also update the architecture diagram.

@coilysiren
Copy link
Collaborator Author

It's not as if the architecture diagram currently lists every single s3 bucket though...

jamesbursa
jamesbursa previously approved these changes Apr 17, 2024
infra/modules/service/s3.tf Outdated Show resolved Hide resolved
infra/modules/service/s3.tf Outdated Show resolved Hide resolved
infra/modules/service/s3.tf Outdated Show resolved Hide resolved
@coilysiren coilysiren requested a review from jamesbursa April 17, 2024 16:27
@coilysiren coilysiren merged commit 67a316a into main Apr 17, 2024
7 checks passed
@coilysiren coilysiren deleted the general-purpose-bucket branch April 17, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Populate the Search API with seeded data in dev
3 participants