Elastic Beanstalk won't deploy due to mismatched artifact names

0

I have a Code Pipeline set up with Elastic Beanstalk, and I'm expecting it to deploy when I make a code change - I have the repo set up to go to CodeCommit, through CodeBuild, then to EB, but it fails on the deploy action because it can't find the artifact, like so: Pipeline Deploy Failure

When I trace through to try to find out which artifact is being searched for, I see that it's looking for this EGoxXMO object: Missing Artifact

I know that the bucket actually exists because I found the bucket, and a set of artifacts in it (but none of them have the correct name). A new artifact is actually created in this bucket (as far as I can tell by matching timestamps) when I make a code change S3 Bucket

What I did to end up in this spot:

  • Started with the Elastic Beanstalk defaults, with it hooked up to a AWS Code repo
  • Cloned the repo locally
  • Grabbed the default Java Corretto download, unzipped, and moved the files into the cloned environment
  • Added a mostly empty (contains "version 0.2" only) buildspec.yml file (or the codebuild fails)
  • Git commit, Git Push

Not sure if I missed a config step somewhere, but how do I get EB to look at the correct artifact? What's causing EB to look for that one specific artifact?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠