ElasticBeanstalk/CodePipeline deployment code is no longer reflects most recent version

0

I have a CodePipeline with 3 stages source, build and deploy. The build stage basically runs some tests and outputs an artifact for the deploy stage. Deploy stage is using Elasticbeanstalk and Docker/Compose containers. Nothing fancy.

It used to work just fine for a month or so but we started having some weird issues like an email we removed from the codebase is still sending. After ssh-ing into the ec2 instance for the environment I found out that the code located in /var/app/current dates back to 3 weeks ago basically last time it was updated was on July 18th while I do make commits daily pretty much.

I checked the build artifact in S3 and confirmed that it has the most recent version of the code. What could be causing the code to not be updated?

Please note that I'm having this same problem on the development and production servers so it's replicable.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions