apfm-actions/ECS Run Task
Execute an ECS task
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Sep 24, 2025
- License
- MIT
Pinned Snippet
uses: apfm-actions/aws-ecs-exec-action@2e656747e124b327c1134bcecb48c5b5cc87618e # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| project | Project family this task is part of | yes | — |
| name | Optional name to append to generated task. This helps avoid conflicts with existing task names in the same workflow. | — | — |
| image | Docker image to use when creating a task definition | — | — |
| version | Version/Label of Docker image to use when creating a task definition | — | latest |
| command | Overide default container command | — | — |
| environment | Comma separated list of environment variable _names_ that should be exported to the ECS container environment | — | — |
| secrets | Comma separated list of environment variable _names_ that should be exported to the ECS container secrets | — | — |
| cpu | CPU allocation (in micro-units) | — | 256 |
| memory | Memory allocation | — | 512 |
| exec_role | ECS Task Execution role to use when provisioning the ECS task (required when creating a new task definition) | — | — |
| task_role | ECS Task role the task should assume when running. | — | — |
| cluster | ECS Cluster to run task on | no | default |
| task_name | Name of existing ECS task, in the form of `name[:version]`, to execute instead of defining a new task. | no | — |
| wait | Wait for ECS task to complete | — | false |
| timeout | Timeout when waiting for completition | — | 600 |
| debug | Enable debugging | — | false |
| aws_role_arn | AWS IAM Role to assume (optional) | — | — |
| aws_external_id | External ID to use when assuming roles (optional) | — | — |
Outputs
| name | description |
|---|---|
| status | Exit status of container |