Skip to content

fix: 썸네일 생성 Lambda 트리거 prefix 변경#27

Merged
lsy1307 merged 2 commits intomainfrom
fix/26-change-thumbnail-trigger-prefix
May 5, 2026
Merged

fix: 썸네일 생성 Lambda 트리거 prefix 변경#27
lsy1307 merged 2 commits intomainfrom
fix/26-change-thumbnail-trigger-prefix

Conversation

@lsy1307
Copy link
Copy Markdown
Contributor

@lsy1307 lsy1307 commented May 5, 2026

관련 이슈

작업 내용

  • 썸네일 생성 Lambda의 S3 이벤트 트리거 prefix를 \chat/images/\에서 \chat/files/\로 변경했습니다.

특이 사항

  • 기존 작업 트리에 다른 미커밋 변경이 있어, 이번 PR에는 Lambda trigger prefix 변경 1줄만 포함했습니다.

Summary by CodeRabbit

  • 버그 수정
    • 파일 저장 위치 변경에 따른 섬네일 자동 생성 프로세스가 업데이트되었습니다.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 5, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: fe11c4ad-9b56-41da-be33-638d9ca44cf6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/26-change-thumbnail-trigger-prefix

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Terraform Plan: global

Plan: 0 to add, 2 to change, 0 to destroy.

전체 plan 결과는 보안을 위해 댓글에 포함되지 않습니다. 워크플로우 실행 아티팩트를 확인하세요.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

@coderabbitai review

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@modules/shared_resources/lambda.tf`:
- Line 71: Lambda 핸들러의 S3 키 검사와 Terraform의 filter_prefix가 불일치하여 썸네일이 생성되지 않습니다;
modules/shared_resources/src/thumbnail/index.js 에 있는 key 변수 검사(현재 if
(!key.startsWith('chat/images/')) { ... })를 찾아 조건을 'chat/files/'로 변경하고 관련 로그
문자열도 'chat/files'로 업데이트하여 Terraform의 filter_prefix 변경과 일치시키세요; exports.handler
또는 해당 이벤트 처리 함수의 early-return 경로만 수정하면 됩니다.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b00bb758-2019-40b9-8ec9-fa138c21411a

📥 Commits

Reviewing files that changed from the base of the PR and between f45d4f7 and d27065b.

📒 Files selected for processing (1)
  • modules/shared_resources/lambda.tf

Comment thread modules/shared_resources/lambda.tf
Copy link
Copy Markdown
Contributor

@Hexeong Hexeong left a comment

Choose a reason for hiding this comment

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

LGTM

@lsy1307 lsy1307 merged commit f85e08f into main May 5, 2026
8 checks passed
@lsy1307 lsy1307 self-assigned this May 5, 2026
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.

fix: 썸네일 생성 Lambda S3 트리거 prefix 변경

2 participants