lsas

package module
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2019 License: MIT Imports: 8 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute added in v0.1.9

func Execute(region string, showHeader, ignoreCase bool) error

Execute is main logic.

func LoadConfig added in v0.1.6

func LoadConfig(region string) (aws.Config, error)

LoadConfig loads AWS setting with option.

Types

type Tag

type Tag struct {
	Key, Value string
}

Tag is AMI tag name and value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL