Skip to content

lgtm-cat-processerのLambdaにS3の権限を付与 #118

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

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

kobayashi-m42
Copy link
Member

@kobayashi-m42 kobayashi-m42 commented Sep 4, 2024

issueURL

#117

Doneの定義

#117 の完了の定義が満たされていること

変更点概要

LambdaがS3バケットからファイルダウンロード、S3へのアップロードができるように以下の変更を行った。
LambdaのIAM RoleにS3へのアクションを許可するためのカスタマーインラインpolicyを追加

Issueとは関係ないが、module側でリソースIDを定義した方が可読性が高くなり、moduleに渡す変数も減らすことで意図しないリソースIDをつけてしまうミスを減らせると思い下記のリファクタリングを行った。
リソースIDをmodule側で定義するようにリファクタリング

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

リファクタリングの観点に問題がないかどうかレビューお願いします。

@kobayashi-m42 kobayashi-m42 self-assigned this Sep 4, 2024
@kobayashi-m42 kobayashi-m42 marked this pull request as ready for review September 4, 2024 13:23
@kobayashi-m42 kobayashi-m42 marked this pull request as draft September 4, 2024 22:40
@kobayashi-m42 kobayashi-m42 marked this pull request as ready for review September 5, 2024 11:13
Copy link
Member

@keitakn keitakn left a comment

Choose a reason for hiding this comment

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

ありがとう🐱問題なさそう👍

LGTMeow

@kobayashi-m42 kobayashi-m42 merged commit 0622479 into main Sep 5, 2024
1 check passed
@kobayashi-m42 kobayashi-m42 deleted the feature/issue117 branch September 5, 2024 11:16
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