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

2023. 8. 25. 10:22AWS/AWS CodePipeline

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

'AWS > AWS CodePipeline' 카테고리의 다른 글

AWS CodePipeline V2  (0) 2023.11.01
Amazon ECS Blue/Green deployment on Codepipeline  (0) 2023.08.23
Codepipeline IAM Managed Policy  (1) 2022.08.09