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

Add tags to ECS tasks #724

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/hrm-ecs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ jobs:
service: ${{ inputs.environment }}-job-processor
cluster: ${{ inputs.environment }}-ecs-cluster
wait-for-service-stability: true
tags: Environment:${{ inputs.environment }}

- name: Download current ECS task definition for the api service
run: aws ecs describe-task-definition --task-definition ${{ inputs.environment }}-hrm-task --query taskDefinition > task-definition.json
Expand All @@ -163,6 +164,7 @@ jobs:
service: ${{ inputs.environment }}-ecs-service
cluster: ${{ inputs.environment }}-ecs-cluster
wait-for-service-stability: true
tags: Environment:${{ inputs.environment }}

- name: Download current ECS task definition for scheduled tasks
run: aws ecs describe-task-definition --task-definition ${{ inputs.environment }}-hrm-scheduled-task --query taskDefinition > task-definition-hrm-scheduled-task.json
Expand Down