Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to update the awslogs-group? #254

Closed
sombriks opened this issue Jul 25, 2023 · 2 comments
Closed

how to update the awslogs-group? #254

sombriks opened this issue Jul 25, 2023 · 2 comments

Comments

@sombriks
Copy link
Contributor

any example on how do i could use the action to set awslogs-group inside my task definition?

@bhaktatejas922
Copy link

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

@amazreech
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants