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
Highlighted

[SOLVED] No Application Version named 'myapp-1' found. Edited

Hello,

I am having issues with deploying my app to AWS Elastic Beanstalk.

I receive a very weird error because I have an application named "fe-landing-page" created, but I do not know where the weird suffix appeared.

An error occurred (InvalidParameterValue) when calling the UpdateEnvironment operation: No Application Version named 'fe-landing-page-9-1dfe0f03' found.

My bitbucket-pipelines.yml file:

pipelines:
default:
- step:
name: "Build image"
script:
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD
- docker build -t name/fe-landing-page -f Dockerfile.dev .
- docker push name/fe-landing-page
services:
- docker
caches:
- docker
- step:
name: "Deploy to Production"
image:
name: name/fe-landing-page:latest
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
email: $DOCKER_HUB_EMAIL
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.3.0
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_KEY
AWS_DEFAULT_REGION: 'eu-west-1'
APPLICATION_NAME: 'fe-landing-page'
ENVIRONMENT_NAME: 'FeLandingPage-env'
S3_BUCKET: 'elasticbeanstalk-eu-west-1-748230814657'
COMMAND: 'deploy-only'

I double checked and the name of the app is the same as in the AWS.

Do you have any advice? Maybe I miss something...

1 comment

Solved not using 

              COMMAND: 'deploy-only'

 Because this option will deploy to already existing app version and not create a new one!

Hi Filip,

What did you put for the ZIP_FILE?

Hi Anthony,

I cannot remember bcs I switched to Gitlab :)

 

But I suppose I did not used ZIP_FILE.

 

Thx.

Comment

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,160 views 0 7
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