Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,163
Community Members
 
Community Events
165
Community Groups

[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...

2 comments

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.

Sorry but this is not solved. 

what do I have to put in the ZIP_FILE if I only need to deploy a docker?

Comment

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,224 views 2 9
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