Hey @Harita Patel , looks like you're using the aws-elasticbeanstalk-deploy pipe. As the error message says, there is no elasticbeanstalk environment for HpDevopsExercise-env. Let's start by first verifying that the environment does actually exist for your application. Also remember to check if the region where your application is created is the same region you pass to the pipe. Check out the Prerequisites section here https://bitbucket.org/atlassian/aws-elasticbeanstalk-deploy/src/master/ as well.
Appreciate your response @Alexander Zhukov I kept verifying in AWS that the environment does exist and it does hence used HpDevopsExercie-env as the ENVIRONMENT_NAME string in my bitbucket-pipeline.yml file. I also tried using the env id instead but that didn't work either. Below is what I see in AWS for the exercise that was setup for me. I also did check the region that I'm using is accurate with the access key and it is. I was very close to creating a new environment but I figured since someone else setup this exercise for me and the env name/id are listed as shown below, env already exists. Am I missing anything else?
Also, here's my yml file that I created for your reference.
@Harita Patel on your screenshot I can see that the URL of the environment has a different region part (us-east-2) and you pass the us-east-1 to the pipe. So basically you have your environment in a different region. You probably should use us-east-2 as AWS_DEFAULT_REGION
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events