Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mefellows/aws-search
Simple AWS cross-account search tool, using Credulous
https://github.com/mefellows/aws-search
Last synced: about 2 months ago
JSON representation
Simple AWS cross-account search tool, using Credulous
- Host: GitHub
- URL: https://github.com/mefellows/aws-search
- Owner: mefellows
- License: mit
- Created: 2015-10-06T11:33:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-16T22:45:44.000Z (almost 9 years ago)
- Last Synced: 2024-10-11T22:55:32.432Z (2 months ago)
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# AWS Search
Simple AWS cross-account search tool, leveraging AWS [CLI Profiles](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles) and [Credulous](https://github.com/realestate-com-au/credulous).## Installation
* Download [AWS Search](/mefellows/aws-search/releases) and put it on your `PATH`
## 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](https://github.com/mefellows/credulous)), 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](https://github.com/stedolan/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.