Skip to content

claranet/aps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APS - Amazon Profile Switcher

Description

Easy switch between AWS Profiles and Regions.

Why

As a service provider we have to switch all the time between our customers' accounts and as lazy DevOps we do no want to always pass same args to our commands. Environment variables are so a good solution for helping us. Here comes APS aka Amazon Profile Switcher.

Usage

usage: aps [<flags>]

Flags:
      --help                     Show context-sensitive help (also try --help-long and --help-man).
  -x, --clear                    Clear env vars related to AWS
  -c, --config=$HOME/.aws/config AWS config file
  -p, --profile=PROFILE          Specify directly the AWS Profile to use
  -r, --region=REGION            Region selector
  -a, --assume=ASSUME            If false, auto assume role is disabled (default is true)

You can select your profile/region by ←, ↑, → ↓ and filter by Name, or AccountId (only for profile). Enter key to validate.

Output Example

screenshot1 screenshot2

Build

make all

This repository uses go mod, so don't git clone inside your $GOPATH.

Author

Thomas Labarussias (thomas.labarussias@qonto.com - https://github.com/Issif)

About

Easy switch between AWS Profiles and Regions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published