Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Latest commit

 

History

History
11 lines (6 loc) · 601 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 601 Bytes

aws-ecs-deploy

Deploys an ecs service by creating a new task definition based on the latest task definition for that service, then updating the service with that new task defintion

Single account:

docker run -e AWS_ACCESS_KEY_ID=xxx -e AWS_SECRET_ACCESS_KEY=yyy -e AWS_REGION=us-east-1 hublogix/aws-ecs-deploy ecs-deploy cluster_name service_name image

Assuming role across multiple accounts:

docker run -e AWS_ACCESS_KEY_ID=xxx -e AWS_SECRET_ACCESS_KEY=yyy -e AWS_REGION=us-east-1 hublogix/aws-ecs-deploy aws-assume-role account_id role_name ecs-deploy cluster_name service_name image