inflearn logo
강의

Course

Instructor

Hey, you can also create AI services. [Image AI Service Serverless Full Stack]

컬렉션 데이터베이스 생성시 오류

Resolved

239

작성자 없음

0 asked

0

강의를 같이 따라하면서 Mystacks.ts 소스를 따라하였으나,

Errors

API UPDATE_ROLLBACK_COMPLETE

Collections/Table: Resource handler returned message: "Resource of type 'AWS::DynamoDB::Table' with identifier 'dev-seoeun-AI-demo-Collections' already exists." (RequestToken: d55126dc-f6ce-0fd2-9b78-f31a1eba2f64, HandlerErrorCode: AlreadyExists)
위와 같은 오류가 나오면서 계속 빌드가 실패하였습니다.

그리고 lambda.ts까지 강의내용 모두 따라한 후, 포스트맨으로 호출해보니

Collections/Table: Resource handler returned message: "Resource of type 'AWS::DynamoDB::Table' with identifier 'dev-seoeun-AI-demo-Collections' already exists." (RequestToken: 30214b18-df7b-eb76-2b3f-ae80c1c78981, HandlerErrorCode: AlreadyExists)

| Invoked packages/functions/src/lambda.handler

| Error: Cannot use Table.Collections. Please make sure it is bound to this function.

at Object.get (/Users/seoeunjang/seoeun_AI_demo/node_modules/sst/node/util/index.js:28:27)

at handler (/Users/seoeunjang/seoeun_AI_demo/packages/functions/src/lambda.ts:119:34)

at file:///Users/seoeunjang/seoeun_AI_demo/node_modules/sst/support/nodejs-runtime/index.mjs:148:22

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

위와 같은 오류가 발생하였습니다.
혹시 제가 놓친 부분이 어떤건지 알 수 있을까요? 제가 AWS계정에 추가로 뭘 더 설정해야했던걸까요?

aws 서버리스 생성형ai dreambooth runpod

Answer 1

1

entaline

안녕하세요. 답변드리겠습니다.

문제를 보니 한번 삭제를 시도하셨거나 업데이트 도중 여러 문제로 인해 취소되셨던 것 같은데요. 강의 마지막부분에 삭제와 관련된 설명이 있긴 하지만 설명드리자면 S3, DynamoDB의 경우 데이터가 있으면 자동으로 삭제가 완료되지 않습니다. 이 경우 AWS 콘솔에 접속하셔서 DynamoDB로 접속하신 다음 dev-seoeun-AI-demo-Collections 테이블을 수동으로 삭제해주시고 다시 시도해보시면 해결될 것 같습니다.

Cursor 설정

0

10

1

맥북으로 RDP 연결 질문

0

19

2

라우팅 테이블 설정 중 궁금한게 있습니다.

0

28

1

수강 연장 가능하면 요청 드립니다.

0

16

2

JPA Repository 질문이 있습니다!

1

29

2

수강 기간 연장 요청

1

46

1

7-1 강의부터 안되네요

0

54

1

npx sst dev 후, 웹페이지 미실행

0

224

2

npx sst dev 실행시

0

1554

10

7-3 /createCollections 리퀘스트시 권한에러

0

201

1

SES 메일 발송시 Internal Error가 나서 질문드려요~

0

292

1

도커 파일 빌드 오류 문의

0

315

1

전체 소스 다운로드 문의

0

230

1

토스 페이먼츠 관련 문의

0

502

1

huggingface 말고 civtai로 모델 바꿔끼워도되나요?

1

364

2

문의입니다.

0

279

1

어떻게 SST라는 노드 패키지를 알게되셨고 사용하실 생각을 하셨나요?

0

334

2

Lecture 8-2 axios post 관련 오류 질문있습니다

0

328

1

RunPod 실행 이후 Status 변화

0

517

1

안녕하세요 도커파일 빌드 중 오류 질문드립니다.

0

820

1

강의 자료 다운

-1

426

1

npx sst dev 오류

0

470

1

Lecture 7 내용 진행중 오류

0

425

2

Lecture 5 내용중 heic변환관련..

0

443

1