Skip to content

intinig/opsworks-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpsWorks::CLI

Gem Version Build Status Dependency Status

An alternative CLI for Amazon OpsWorks, focused on managing a large number of similarly provisioned stacks.

Installation

Install the gem:

gem install 'opsworks-cli'

Configuration

The gem expects to have access to your AWS access key ID and secret access key. You can configure this in either of two ways. First, you may set the following environment variables:

export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...

If you're on OS X, you may also use the aws-keychain-util to password-protect these credentials within the OS X Keychain. To do this, follow the instructions in the gem's README:

gem install aws-keychain-util
aws-creds init
aws-creds add

When you add credentials, make sure to name the account default.

Usage

$ opsworks help
Commands:
  opsworks deploy [--stack STACK] APP   # Deploy an OpsWorks app
  opsworks exec [--stack STACK] RECIPE  # Execute a Chef recipe
  opsworks status [--stack STACK] APP   # Display the most recent deployment of an app
  opsworks update [--stack STACK]       # Update OpsWorks custom cookbooks
  opsworks version                      # Print OpsWorks CLI version

Contributing

  1. Fork the project.
  2. Commit your changes, with specs.
  3. Ensure that your code passes specs (rake spec) and meets Aptible's Ruby style guide (rake rubocop).
  4. Create a new pull request on GitHub.

Copyright and License

MIT License, see LICENSE for details.

Copyright (c) 2014 Aptible, Frank Macreery, and contributors.

About

An alternative CLI for Amazon OpsWorks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%