You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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...
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?