Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

GitHub Actions for AWS Elastic Beanstalk

This Action for AWS enables arbitrary actions for interacting with AWS Elastic Beanstalk service via the eb command-line client. It's based on the GitHub Actions for AWS.


The example below illustrates how to deploy to AWS Elastic Beanstalk and report status back to GitHub Deployment API, so that SlashDeploy could process the deployment and notify Slack.

workflow "Deploy to AWS EB" {
  on = "deployment"
  resolves = ["deploy"]

action "deploy.scripts" {
  uses = "unacast/actions/github-deploy@master"

action "deploy" {
  uses = "getslashdeploy/actions/aws-eb@master"
  secrets = ["GITHUB_TOKEN"]
  args = "deploy <ENTER NAME OF EB ENVIRONMENT>"
  needs = ["deploy.scripts"]


  • AWS_ACCESS_KEY_IDRequired The AWS access key part of your credentials (more info)
  • AWS_SECRET_ACCESS_KEYRequired The AWS secret access key part of your credentials (more info)

Environment variables

All environment variables listed in the official documentation are supported.

We provide defaults for the following, these may also be overridden:

  • AWS_DEFAULT_REGION- Optional The AWS region name, defaults to us-east-1 (more info)
  • AWS_DEFAULT_OUTPUT- Optional The CLI's output output format, defaults to json (more info)
  • AWS_PROFILE - Optional The AWS profile with the credentials and options to use, defaults to eb-cli. (more info)


The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Container images built with this project include third party materials. See for details.