CloudBees action: Deploy with AWS Elastic Beanstalk

1 minute read

Use this action to create a new application version from a source bundle, and to update an AWS Elastic Beanstalk environment.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

application-name

String

Yes

The Elastic Beanstalk application name.

s3-bucket

String

Yes

The S3 bucket name.

s3-key

String

Yes

The S3 key for the source bundle.

version-label

String

Yes

The Elastic Beanstalk application version label to be created from the source bundle.

environment-name

String

Yes

The name of the Elastic Beanstalk environment to be updated.

Usage example

In your YAML file, add:

steps: - name: Update Elastic Beanstalk environment uses: cloudbees-io/aws-elastic-beanstalk-invoke-deployment@v1 with: application-name: your-elastic-beanstalk-application s3-bucket: your-s3-bucket s3-key: your-s3-key-for-the-source-bundle version-label: your-application-version-to-be-created environment-name: your-elastic-beanstalk-environment-to-be-updated