actions-marketplace-validations/Amazon ECS "Render Task Definition" Action for GitHub Actions

Inserts a container image URI into a container definition in an Amazon ECS task definition JSON file, creating a new file.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/aws-actions_amazon-ecs-render-task-definition@cdf43c3b3f2bc268c0363036439273eed210aec5 # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
task-definitionThe path to the ECS task definition JSON fileno
task-definition-arnThe full Amazon Resource Name (ARN) of the task definition to be usedno
task-definition-familyThe name of a family that the task definition is registered tono
task-definition-revisionThe revision of the task definition being usedno
container-nameThe name of the container or containers defined in the containerDefinitions section of the ECS task definition. If more than one container, add the names comma separated.yes
imageThe URI of the container image to insert into the ECS task definitionyes
environment-variablesVariables to add to the container. Each variable is of the form KEY=value, you can specify multiple variables with multi-line YAML strings.no
log-configuration-log-driverCreate/Override logDriver inside logConfigurationno
log-configuration-optionsCreate/Override options inside logConfiguration. Each variable is of the form key=value, you can specify multiple variables with multi-line YAML strings.no
docker-labelsCreate/Override options inside dockerLabels. Each variable is key=value, you can specify multiple variables with multi-line YAML.no
commandThe command used by ECS to start the container imageno
env-filesS3 object arns to set env variables onto the container. You can specify multiple files with multi-line YAML strings.no
secretsSecrets to add to the container. Each secret is of the form KEY=valueFrom, where valueFrom is a secret arn. You can specify multiple secrets with multi-line YAML strings.no
namedescription
task-definitionThe path to the rendered task definition file