I set up CodeCommit -> CodePipeline -> CodeDeploy and the deploy fails, but the files I commited to CodeCommit show up in
/opt/codedeploy-agent/deployment-root/b20baedc-1ba0-408e-b74c-8615b3d87f74/d-AN5IXPSZJ/deployment-archive
This is the error message I get when the deployment fails:
Deployment Failed
The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems. (Error code: HEALTH_CONSTRAINTS)
I would like the files to be put into /src/website/website-name
The deployment failed might be caused by different problems. Could you go to the CodeDeploy console, choose the deployment tab at top left(below aws bar), find the deploymentId, and then click the deploymentId, you'll able to see the deployment details and each instances status. If there is any instance has status Failed, you can check the lifecycle event status of that instance, and error log.