Skip to content

mefellows/aws-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Search

Simple AWS cross-account search tool, leveraging AWS CLI Profiles and Credulous.

Installation

Usage

aws-search --id ami-5678bbb --action ami          --region ap-southeast-2
aws-search --id i-1234aaaa  --action instance     --region ap-southeast-2
aws-search --id 54.34.3.1   --action public-ip    --region ap-southeast-2.
aws-search --id myapp       --action eb           --region ap-southeast-2
aws-search --id prd-a-123ab --action eb-env       --region ap-southeast-2
aws-search --id prd-b-123ab --action eb-resources --region ap-southeast-2

For verbose logging, simply add the --verbose flag.

Credulous

If you want to use [Credulous](https://github.com/realestate-com-au/credulous, ensure it is installed (for Windows variant), and source some creds.

You may then pass the --credulous=true flag to have it use Credulous profiles instead of the default AWS CLI Profiles.

Unix philosophy

AWS Search is desgined to be combined with other tools, for example, it goes really well with jq too:

./aws-search --id production-a-123aaa  --action eb-resources --region ap-southeast-2 | jq .EnvironmentResources.Instances[0].Id

NOTE: AWS_REGION environment variable will be used if no -r option is present.

About

Simple AWS cross-account search tool, using Credulous

Resources

License

Stars

Watchers

Forks

Packages

No packages published