ECS Task Definition Renderer
This Azure DevOps extension provides functionality similar to the GitHub Action aws-actions/amazon-ecs-render-task-definition.
Features
- Updates container image URIs in Amazon ECS task definition files
- Supports custom output paths for rendered task definitions
- Seamlessly integrates with Azure DevOps pipelines
Usage
steps:
- task: ECSRenderTaskDefinition@1
inputs:
taskDefinitionFile: 'task-definition.json'
containerName: 'my-container'
imageURI: '$(containerRegistry)/$(imageRepository):$(tag)'
outputTaskDefinitionFile: 'rendered-task-definition.json' # Optional
Parameters
taskDefinitionFile : (Required) Path to the ECS task definition JSON file
containerName : (Required) Name of the container to update in the task definition
imageURI : (Required) URI of the container image to use
outputTaskDefinitionFile : (Optional) Path to output the rendered task definition
Output Variables
taskDefinitionOutput : Path to the rendered task definition file
| |