Drone plugins > AWS ECS Deploy
AWS ECS Deploy
by devops-israel
This plugin allows updating an ECS service. The plugin is a wrapper for ecs-deploy, this bash works by taking the current task definition of a service and just changing the image so that all the configuration stays the same.
Example
kind: pipeline
name: default
steps:
- name: deploy
image: joshdvir/drone-ecs-deploy
settings:
cluster: my-cluster
service: my-service
image_name: my-image:latest
aws_region: us-east-1
Properties
aws_access_key_id
stringoptionalAWS access key.
Secret recommendedDefault: none
aws_secret_access_key
stringoptionalAWS secret key.
Secret recommendedDefault: none
aws_region
stringoptionalAWS region.
Default: us-east-1
cluster
stringoptionalECS cluster.
Default: none
service
stringoptionalName of service to deploy.
Default: none
timeout
numberoptionalScript monitors ECS Service for new task definition to be running.
Default: 300
image_name
stringoptionalName of Docker image to run, e.g. repo/image:latest.
Default: none
max
numberoptionalThe upper limit on the number of running tasks during a deployment.
Default: 200
min
numberoptionalThe lower limit on the number of running tasks during a deployment.
Default: 100