Project

awshark

0.0
The project is in a healthy, maintained state
Custom CLI for for AWS to simplify common tasks with EC2, S3 and Cloud Formation
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Awshark

GitHub Actions Test Status

Simple command-line tool for some useful tasks for AWS EC2, S3 and CloudFormation.

Installation

gem install awshark

Usage

S3 commands

List all S3 buckets

awshark s3 list --profile=AWS_PROFILE

List all objects in a specific S3 bucket

awshark s3 objects BUCKET_NAME fonts/ --profile=AWS_PROFILE

EC2 commands

List all EC2 instances in a region

awshark ec2 list --profile=AWS_PROFILE

Cloud Formation commands

Update (diff) Cloud Formation stack

awshark cf deploy TEMPLATE_PATH --stage=STAGE --bucket=S3_BUCKET.bundesimmo.de --profile=AWS_PROFILE

awshark cf diff TEMPLATE_PATH --stage=STAGE --bucket=S3_BUCKET.bundesimmo.de --profile=AWS_PROFILE

For a further information visit the Wiki.

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run

gem build awshark.gemspec
gem install --local awshark-0.1.0.gem
rm awshark-0.1.0.gem

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jdahlke/awshark.