brandlive1941/action-aws-ecs-deploy
Configures AWS, renders Task Definition, and deploys to ECS for a single service/region combination.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 2, 2026
- License
- GPL 3.0
Pinned Snippet
uses: brandlive1941/action-aws-ecs-deploy@27e5f11c7a99922d1997b88688d87375347290ca # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| task-definition | The task definition file path (e.g., .aws/sandbox-us-west-2-translation-service.json) | yes | — |
| container-name | The name of the container in the task definition to update (e.g., sandbox-translation-service-container) | yes | — |
| container_port | The port on the container to associate with the load balancer (e.g., 8080) | no | 80 |
| region | The AWS region to deploy to | yes | — |
| service | The name of the service to deploy (e.g., translation-service) | yes | — |
| cluster | The name of the ECS cluster to deploy to (e.g., platform-sandbox-us-west-2) | yes | — |
| image | The ECR image URL (e.g., 123456789012.dkr.ecr.us-west-2.amazonaws.com/my-image:latest) | yes | — |
| role | The IAM Role ARN to assume for deployment | yes | — |
| create_service | Set to true to create the service if it does not exist | no | false |
| launch_type | The launch type to use for the service, used only when creating a new service | no | FARGATE |
| desired_count | The desired count for the service, used only when creating a new service | no | 0 |
| subnets | The subnets to use for the service, used only when creating a new service | no | [] |
| security_groups | The security groups to use for the service, used only when creating a new service | no | [] |
| target_group | The target group ARN to use for the service, used only when creating a new service | no | — |
| environment | The environment name (e.g., sandbox, dev, qa) | no | — |
Outputs
no outputs