Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)