Skip to content

fix: add UserTable read permission to WebSocket Lambda#533

Merged
DDINGJOO merged 1 commit into
testfrom
develop
Jan 24, 2026
Merged

fix: add UserTable read permission to WebSocket Lambda#533
DDINGJOO merged 1 commit into
testfrom
develop

Conversation

@DDINGJOO

@DDINGJOO DDINGJOO commented Jan 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • WebSocket Lambda(채팅 메시지 핸들러)에 UserTable 읽기 권한 추가
  • /member, /dice, /coin, /hint 등 채팅 명령어에서 닉네임 조회를 위해 UserTable 접근이 필요

Root Cause

WebSocketMessageFunctionUserTable에 대한 DynamoDBReadPolicy가 없어서 채팅 명령어 처리 시 닉네임 조회가 실패

Fix

- DynamoDBReadPolicy:
    TableName: !Ref UserTable

Test plan

  • 배포 후 /member 명령어 테스트
  • 배포 후 /dice 명령어 테스트
  • 배포 후 /coin 명령어 테스트

WebSocket Lambda needs DynamoDBReadPolicy for UserTable to look up
user nicknames for chat commands (/member, /dice, /coin, /hint, etc.)
@DDINGJOO DDINGJOO merged commit 2565c81 into test Jan 24, 2026
1 check passed
hye-inA pushed a commit that referenced this pull request Jan 27, 2026
fix: add UserTable read permission to WebSocket Lambda
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.

1 participant