Bitbucket pipeline deploy failing with "Environment is red" but AWS logs do not agree.

Kevin Fink
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2023

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.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events