yadig

command module
v0.0.0-...-b9d6626 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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