Our pipelines have been working for months, but suddenly stopped with the message "Environment is red". However, the logs for that environment in AWS show that everything deployed properly, with no warnings, much less errors. What is the pipeline checking here?
INFO: Checking deployment status in Elastic Beanstalk...
✖ Deployment failed. Environment "XXX" is Red.
G'day, @Kevin Fink
As outlined in our pipe script, we initiate a deployment check through AWS Elastic Beanstalk and determine the deployment status based on the response we receive.
In this specific instance, the information from your environment health indicates that the current status is 'Red,' which leads us to consider the deployment failed.
I suggest increasing the "WAIT_INTERVAL" so that the pipe can wait for a few more seconds than the default 10s to ensure your environment is ready.
Let me know how it goes.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.