Skip to content
/ yadig Public

Your AWS `dig`. Well, really more like `dig -x` but...

License

Notifications You must be signed in to change notification settings

belminf/yadig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yadig

Your AWS dig. Well, really more like dig -x but...

Searches for IPs across multiple configured AWS profiles.

Install

go get -u github.com/belminf/yadig

Usage

By default, yadig will search all your configured profiles (sourced from ~/.aws/config) against the default regions:

$ yadig 10.1.3.51

[personal/us-east2] i-111111111 (bfworks-k8s-control-plane)

If you want to customize which profiles and regions yadig searches, you could drop a configuration file in ~/.config/yadig/config.yaml. E.g.:

search:
  - alias: personal-alpha
    profile: personal
    region: us-east-1

  - profile: personal
    region: us-east-2

  - alias: work-west
    profile: work
    region: us-west-2

TODO

  • Add unit testing
  • Add better error handling

License

GNU GPLv3

About

Your AWS `dig`. Well, really more like `dig -x` but...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages