Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claranet/aps
Easy switch between AWS Profiles and Regions
https://github.com/claranet/aps
amazon-web-services aws
Last synced: 7 days ago
JSON representation
Easy switch between AWS Profiles and Regions
- Host: GitHub
- URL: https://github.com/claranet/aps
- Owner: claranet
- License: mit
- Created: 2019-06-03T12:41:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T12:43:01.000Z (over 2 years ago)
- Last Synced: 2023-08-07T06:42:40.583Z (over 1 year ago)
- Topics: amazon-web-services, aws
- Language: Go
- Size: 14.5 MB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
usage: aps []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](./img/screenshot1.png)
![screenshot2](./img/screenshot2.png)## Build
```bash
make all
```
This repository uses `go mod`, so don't `git clone` inside your `$GOPATH`.## Author
Thomas Labarussias ([email protected] - https://github.com/Issif)