AWS/AWS CodePipeline

Exception while trying to read the task definition artifact file from: <source artifact name>

워니주니구니 2023. 8. 25. 10:22
728x90
SMALL

- 상황

Codepipeline에서 codebuild로 build하고 ecs to codedeploy에서 에러가 발생

 

- 에러 메세지

Exception while trying to read the task definition artifact file from: <source artifact name>

 

- 원인

Source Artifact file은 3MB가 넘으면 에러 발생

 

- 해결

Source file에서 static file을 제거하여 용량을 3MB 이하로 한 후 다시 build

 

- reference

https://docs.aws.amazon.com/codepipeline/latest/userguide/troubleshooting.html#troubleshooting-ecstocodedeploy-size

 

 

728x90
LIST