apfm-actions/ECS Run Task

Execute an ECS task

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Sep 24, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: apfm-actions/aws-ecs-exec-action@2e656747e124b327c1134bcecb48c5b5cc87618e # v1.0.0

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

namedescriptionrequireddefault
projectProject family this task is part ofyes
nameOptional name to append to generated task. This helps avoid conflicts with existing task names in the same workflow.
imageDocker image to use when creating a task definition
versionVersion/Label of Docker image to use when creating a task definitionlatest
commandOveride default container command
environmentComma separated list of environment variable _names_ that should be exported to the ECS container environment
secretsComma separated list of environment variable _names_ that should be exported to the ECS container secrets
cpuCPU allocation (in micro-units)256
memoryMemory allocation512
exec_roleECS Task Execution role to use when provisioning the ECS task (required when creating a new task definition)
task_roleECS Task role the task should assume when running.
clusterECS Cluster to run task onnodefault
task_nameName of existing ECS task, in the form of `name[:version]`, to execute instead of defining a new task.no
waitWait for ECS task to completefalse
timeoutTimeout when waiting for completition600
debugEnable debuggingfalse
aws_role_arnAWS IAM Role to assume (optional)
aws_external_idExternal ID to use when assuming roles (optional)
namedescription
statusExit status of container