Use this plugin for deplying an application to AWS Elastic Beanstalk. You can override the default configuration with the following parameters:
access_key
- AWS access key IDsecret_key
- AWS secret access keyregion
- AWS availability zoneversion_label
- A label identifying this versionapplication
- Application name, defaults to repo namedescription
- A description about the deployment, optionalauto_create
- Automatically create the application, defaults tofalse
process
- Preprocess and validate the manifest, defaults tofalse
bucket_name
- Bucket forS3
source bundlebucket_key
- Key forS3
source bundleenvironment_update
- Flag whether to update ElasticBeansTalk environment with the new versionenvironment_name
- Environment Name (optional), if update_environment true
The following is a sample configuration in your .drone.yml file:
deploy:
beanstalk:
image: peloton/drone-elasctic-beanstalk
access_key: 970d28f4dd477bc184fbd10b376de753
secret_key: 9c5785d3ece6a9cdefa42eb99b58986f9095ff1c
region: us-east-1
version_label: v1
description: Deployed with DroneCI
auto_create: true
bucket_name: my-bucket-name
bucket_key: 970d28f4dd477bc184fbd10b376de753