Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

James St-Pierre December 17, 2020

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
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 22, 2020

@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
AUG Leaders

Atlassian Community Events