Skip to content

Commit bf35e3e

Browse files
committed
fix(ci): preserve ecs service tags
We tag our services with App and Env tags set on the service for cost allocation. It is especially useful in the AWS Cost Explorer console. The terraform definition of our services uses the propagate_tags setting when deploying the service, but our github actions do not by default do the same. This change adds the appropriate config to our github action to propagate tags the same way our terraform code does. Note that our cost alloctaions may be incorrectly categorizing charges in each of these repositories from our original merge of the gh action to now (March 28, 2025).
1 parent dddfa61 commit bf35e3e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/callable-deploy-ecs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ jobs:
7676
task-definition: task.json
7777
service: ${{ vars.ECS_SERVICE }}
7878
cluster: ${{ vars.ECS_CLUSTER }}
79-
wait-for-service-stability: true
79+
wait-for-service-stability: true
80+
propagate-tags: SERVICE

0 commit comments

Comments
 (0)