Project

omc

0.01
No commit activity in last 3 years
No release in over 3 years
Opsworks Missing Console - Useful Commands for Opsworks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
>= 0
~> 10.0

Runtime

>= 0.0.7, ~> 0.0
~> 1.56
~> 0.19
 Project Readme

OMC - Opsworks' Missing Console

Useful commands for dealing with AWS and opsworks across multiple IAM accounts.

Installation

gem install omc

Config

omc supports a configuration file to specify your account rather than providing it with the -a flag. Formatted like so:

account = "zerg"

It can be located at ~/.omcrc, ~/.config/omcrc, or local to where you're running your command .omcrc

AWS Cred Vault

omc works off of aws_cred_vault and requires an ~/.aws_cred_vault file to exist. This file should be populated with your different IAM accounts and users.

Below is an example of a valid ~/.aws_cred_vault

[accounts.protoss.fenix]
access_key = "fenix"
secret = "zealot!"

[accounts.protoss.tassadar]
access_key = "tassadar"
secret = "lightning!"

[accounts.terran.raynor]
access_key = "raynor"
secret = "abcd1234"

Usage

omc help

Accepted ssh options:

-R 3000:localhost:3001 # Forwards port 3000 on the remote host to port 3001 on the localhost
-A                     # Forward agent

Please the the ssh help for more detail.