brandlive1941/action-aws-ecs-deploy

Configures AWS, renders Task Definition, and deploys to ECS for a single service/region combination.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 2, 2026
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: brandlive1941/action-aws-ecs-deploy@27e5f11c7a99922d1997b88688d87375347290ca # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
task-definitionThe task definition file path (e.g., .aws/sandbox-us-west-2-translation-service.json)yes
container-nameThe name of the container in the task definition to update (e.g., sandbox-translation-service-container)yes
container_portThe port on the container to associate with the load balancer (e.g., 8080)no80
regionThe AWS region to deploy toyes
serviceThe name of the service to deploy (e.g., translation-service)yes
clusterThe name of the ECS cluster to deploy to (e.g., platform-sandbox-us-west-2)yes
imageThe ECR image URL (e.g., 123456789012.dkr.ecr.us-west-2.amazonaws.com/my-image:latest)yes
roleThe IAM Role ARN to assume for deploymentyes
create_serviceSet to true to create the service if it does not existnofalse
launch_typeThe launch type to use for the service, used only when creating a new servicenoFARGATE
desired_countThe desired count for the service, used only when creating a new serviceno0
subnetsThe subnets to use for the service, used only when creating a new serviceno[]
security_groupsThe security groups to use for the service, used only when creating a new serviceno[]
target_groupThe target group ARN to use for the service, used only when creating a new serviceno
environmentThe environment name (e.g., sandbox, dev, qa)no

no outputs