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
@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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.