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

S3バケットのオブジェクトに有効期限を設定するルールを追加 #26

Merged
merged 3 commits into from
May 24, 2021

Conversation

keitakn
Copy link
Member

@keitakn keitakn commented May 2, 2021

issueURL

#24

Doneの定義

  • 一時的に画像が保存されるS3バケットのオブジェクトに有効期限が設定されている事

変更点概要

バージョニングが無効になっているS3バケットに対してオブジェクトの有効期限を設定。

これによって永続化が不要な画像ファイルは有効期限が来たら自動的に削除されるようになった。

検証用に stg-lgtmeow-upload-imagestest/test-cat1.png を追加。

この画像が以下のようになっているので、設定は問題なく出来ている認識。

test

レビュアーに重点的にチェックして欲しい点

期待する動作としては、有効期限が過ぎたオブジェクトはS3バケットから完全に削除されて欲しいんだけど、設定方法がこれで合っているか確認してもらえると:pray:

@keitakn keitakn self-assigned this May 2, 2021
@keitakn keitakn requested a review from kobayashi-m42 May 3, 2021 04:54
@keitakn keitakn marked this pull request as ready for review May 3, 2021 04:54
Copy link
Member

@kobayashi-m42 kobayashi-m42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

設定方法はこれで問題ないと思う!🐱
LGTMeow

@keitakn keitakn merged commit 987013f into main May 24, 2021
@keitakn keitakn deleted the feature/issue24/add-expiration-bucket branch May 24, 2021 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants