Skip to content

budougumi0617/lsas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsas

GoDoc CircleCI GolangCI Go Report Card

Description

List view of AWS autoscaling group.

Demo & VS.

We use the AWS Console (web view) to display the information of the Auto Scaling Group (ASG). Also, we want to filter ASG search results using tags. However, it is bothersome to do that with the aws command. The lsas command displays ASG information similar to the AWS Console. The lsas command also has a filter function.

aws command vs lsas

Requirement

The lsas CLI needs the AWS Access Key ID, and the AWS Secret Access Key to access the autoscaling group information. If you are able to access AWS information by AWS CLI, the lsas CLI is able to access AWS information same as AWS CLI.

Usage

lsas -h
Usage of lsas:
  -p	print result header
  -print
    	print result header
  -i
    	Perform case insensitive matching.  By default, grep is case sensitive.
  --ignore-case
    	Perform case insensitive matching.  By default, grep is case sensitive.
  -r string
    	AWS region
  -region string
    	AWS region

Install

You can download binary from release page and place it in $PATH directory.

MacOS

If you want to install on MacOS, you can use Homebrew.

brew tap budougumi0617/lsas
brew install budougumi0617/lsas/lsas

Contribution

  1. Fork (https://github.com/budougumi0617/lsas/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create new Pull Request

License

MIT

Author

Yoichiro Shimizu(@budougumi0617)