Opsworks
Command line interface for Amazon OpsWorks.
Commands
Run opsworks
with one of the following commands:
ssh
Generate and update SSH configuration files
Configuration
This gem uses the same configuration file as the AWS CLI
Add the following section to the file pointed out by the AWS_CONFIG_FILE
environment variable:
[opsworks]
stack-id=<MY STACK ID>
ssh-user=<MY SSH USER NAME>
The stack ID can be found in the stack settings, under OpsWorks ID. The
ssh-user
flag should be set to the username you want to use when logging in
remotely, most probably the user name from your My Settings page on OpsWorks.
Installation
Install for use on the command line:
$ gem install opsworks
Then run opsworks
:
$ opsworks --help
To use the gem in a project, add this to your Gemfile
:
gem 'opsworks'
And then execute:
$ bundle
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request