본문 바로가기
TIL/AWS

AWS S3 | Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

by 홍차23 2020. 7. 9.

 

error>

Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

 

solution>

aws config 정보를 읽지 못한다는 메시지이므로,

.env 파일 위치가 루트에 있어야 한다. 

 

console.log("env, ", process.env.AWS_CONFIG) //입력해서 제대로 출력되는지 확인

 

참고>

https://m.blog.naver.com/PostView.nhn?blogId=dydals56789&logNo=221516669383&proxyReferer=https:%2F%2Fwww.google.com%2F

 

댓글