Skip to content

StemboltHQ/omc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Gregor MacDougall
May 4, 2018
92105eb · May 4, 2018

History

62 Commits
Oct 22, 2014
May 4, 2018
Oct 22, 2014
Oct 22, 2014
Oct 22, 2014
Dec 5, 2017
Oct 23, 2014
May 4, 2018

Repository files navigation

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.