Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 620 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 620 Bytes

Build Status

Description:

Trigger AWS ECS service restart using force new deployment.

Install:

pip install boto3
pip install fire

Usage:

python ecsServiceRestart.py restart --services="app app2" --cluster=test

Or docker

docker build -t ecs-service-restart .  
docker run \
-e AWS_DEFAULT_REGION='us-east-1' \
-e AWS_ACCESS_KEY_ID='xxxx' \
-e AWS_SECRET_ACCESS_KEY='xxxx' \
-it ecs-service-restart python ecsServiceRestart.py restart --services="app app2" --cluster=test