From 4d74fbbbcdf61b396c5141f5b243c32bea8fc21d Mon Sep 17 00:00:00 2001 From: Jonathan Monette Date: Tue, 8 Aug 2023 19:05:22 -0500 Subject: [PATCH] update README --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f57846..a96dd2e 100644 --- a/README.md +++ b/README.md @@ -1 +1,24 @@ -# ECS Service Reboot \ No newline at end of file +# ECS Service Reboot + +## Overview + +| Arguemment | Description | Default Value | +| --- | --- | --- | +| cluster | The ECS cluster to look for the service | The environment variable `CLUSTER` | +| region | The region to look for the service in ecs | The environment variable `AWS_REGION` | +| service | The ECS service to reboot | The environment variable `SERVICE` | + +## Installation + +```bash +brew tap jmoney/aws +brew install reboot-ecs-service +``` + +## Run Locally + +```bash +go run cmd/cli/main.go -cluster dev -region us-east-1 -service my-service +``` + +Will reboot the service name `my-service` in the `dev cluster` running in the `us-east-1` region.