amazon-ecs-render-task-definition
amazon-ecs-render-task-definition copied to clipboard
how to update the awslogs-group?
any example on how do i could use the action to set awslogs-group inside my task definition?
xample inside a github workflow:
- name: Render Amazon ECS task definition for backend container
if: matrix.build == 'backend'
id: render-backend-container
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: ${{ env.APPLICATION_TASK_DEFINITION }}
container-name: backend
image: ${{ steps.build-backend-image.outputs.image }}
log-configuration: awslogs,awslogs-group=${{ needs.prepare.outputs.log_group }},awslogs-stream-prefix=backend
Closing this older issue as the PR associated with this PR #255 has been merged. Please feel free to open a new issue if there are additional questions or concerns. Thanks!