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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,320 views 0 3
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