Skip to content

simple go module to get all services and versions in a given AWS ecs cluster and/or diff against another cluster

License

Notifications You must be signed in to change notification settings

chrispruitt/go-get-ecs-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-ecs-services

A script to get versions of services in a cluster and the difference between two clusters The version is pulled from the SSM VERSION parameter with the following syntax "///VERSION"

Usage:
  get-ecs-services [flags]

Flags:
  --cluster string           cluster to get list services and versions (default "dev")
  --profile string           override default AWS profile (default will discover default AWS profile)
  --diffCluster string       cluster to compare difference
  --diffProfile string       override AWS profile for '-diffCluster' only if a cluster exists in a different AWS account
  --help                     help for get-ecs-services
  --version                  show version for get-ecs-services

Examples

Get service versions for every service running in a cluster

get-ecs-services -cluster dev

Diff service versions for each service running in either cluster

get-ecs-services -cluster dev -cluster tst

Diff service versions for each service in two clusters existing on different AWS accounts

get-ecs-services -cluster tst -cluster prd -diffProfile my-prd-aws-profile

About

simple go module to get all services and versions in a given AWS ecs cluster and/or diff against another cluster

Resources

License

Stars

Watchers

Forks

Packages

No packages published