Skip to content

fix: 이미지 처리 Lambda 오류 수정 #32

@lsy1307

Description

@lsy1307

어떤 버그인가요?

S3 이벤트로 실행되는 이미지 resizing Lambda와 thumbnail Lambda의 오류 가능성을 점검하고 수정합니다.

  • modules/shared_resources/src/img_resizing/index.js 확인
  • modules/shared_resources/src/thumbnail/index.js 확인
  • Terraform에서 참조하는 modules/shared_resources/dist/*.zip 산출물 처리 방식 확인

재현 방법(선택)

  1. S3 upload bucket에 이미지 업로드
  2. original/ prefix 업로드 시 resizing Lambda 실행
  3. chat/files/ prefix 업로드 시 thumbnail Lambda 실행
  4. CloudWatch Logs에서 Lambda 오류 확인

참고할만한 자료(선택)

  • modules/shared_resources/lambda.tf
  • modules/shared_resources/src/img_resizing/index.js
  • modules/shared_resources/src/thumbnail/index.js
  • modules/shared_resources/dist/img_resizing.zip
  • modules/shared_resources/dist/thumbnail.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions