Solved!!! CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server
AWS CodeDeploy is a server software deployment service. It is different from traditional CI/CD deployment in the following ways: The server actively obtains files and deploys them. There is no need to open SSH for CI/CD service to connect to the operation. AWS side settings In addition to the CodeDeploy settings, you will also need … Read more