Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline to Elasticbeanstalk: Uploads to S3 but does not link to environment

Hi,

 

Here is my pipeline configuration

 - step:
name: Deploy to production
deployment: production
image: atlassian/default-image:2
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.6.7
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: "us-east-1"
APPLICATION_NAME: "appname"
ENVIRONMENT_NAME: "production"
S3_BUCKET: "elasticbeanstalk-us-east-1-bucketid"
ZIP_FILE: "application.zip"
VERSION_LABEL: "deploy-appname-$BITBUCKET_BUILD_NUMBER-bitbucket"

 

I can see the uploaded file in my S3 Bucket, however, it seems it won't link to the application. If I go to Elasticbeanstalk --> Application Versions, it isn't present.

 

Also, the pipeline fails with this error :

An error occurred (InvalidParameterValue) when calling the UpdateEnvironment operation: No Application Version named 'deploy-appname-63-bitbucket' found 

 

Thank you

1 answer

0 votes

@James St-Pierre this means it failed to deploy your version to cloud. If to look more, you probably can see the following string : "See more details stack ....<stack_link>".

Is that your case?

It can be that updating environment some deploy could fail depending on your setup permissions etc.

Here we'd like to see more details, can you link log with trace?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

229 views 2 5
Read article

Community Events

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

Events near you