Skip to content
/ ecsv Public

Quickly check the versions of your systems running in ECS tasks across various environments

License

Notifications You must be signed in to change notification settings

dhth/ecsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecsv

✨ Overview

ecsv helps you quickly check the versions of your systems running in ECS tasks across various environments.

Usage

💾 Installation

homebrew:

brew install dhth/tap/ecsv

go:

go install github.com/dhth/ecsv@latest

⚡️ Usage

Create a configuration file that looks like the following.

env-sequence: ["qa", "staging"]
systems:
- key: service-a
  envs:
  - name: qa
    aws-config-source: profile:::qa
    aws-region: eu-central-1
    cluster: 1brd-qa
    service: service-a-fargate
    container-name: service-a-qa-Service
  - name: staging
    aws-profile: qa
    aws-config-source: profile:::staging
    aws-region: eu-central-1
    cluster: 1brd-staging
    service: service-a-fargate
    container-name: service-a-staging-Service
- key: service-b
  envs:
  - name: qa
    aws-config-source: profile:::qa
    aws-region: eu-central-1
    cluster: 1brd-qa
    service: service-b-fargate
    container-name: service-b-qa-Service
  - name: staging
    aws-config-source: profile:::staging
    aws-region: eu-central-1
    cluster: 1brd-staging
    service: service-b-fargate
    container-name: service-b-staging-Service

By default, ecsv will try to find the config file at ~/.config/ecsv.yml.

Output Formats

Besides being in TUI mode, ecsv can also output data in plaintext and HTML formats.

ecsv -format=plaintext
ecsv -format=html

Using the latter will output HTML that, when served, looks as follows:

HTML output

Read more about outputting HTML in the examples directory.

About

Quickly check the versions of your systems running in ECS tasks across various environments

Topics

Resources

License

Stars

Watchers

Forks