elastic-beanstalk.js
Utilities to deploy packages to AWS Elastic Beanstalk.
Installation
npm install elastic-beanstalk.js
Usage
// Create the clientvar elasticBeanstalk =aws:/* your AWS credentials */accessKeyId: 'ACCESS_KEY_ID'secretAccessKey: 'SECRET_ACCESS_KEY'/* the AWS region of your Elastic Beanstalk application*/region: 'REGION'/* your Elastic Beanstalk application */applicationName: 'APPLICATION_NAME'/* the S3 bucket where the packages must be created */versionsBuckets: 'VERSIONS_BUCKETS'/* Newrelic application to notify during the deployment (optional) */newrelic:applicationKey: 'NEW_RELIC_APPLICATION_KEY'applicationName: 'NEW_RELIC_APPLICATION_NAME';// Create an application version and deploy it to an Elastic Beanstalk environmentelasticBeanstalk;// Promote a version from one environment to anotherelasticBeanstalk;