Skip to content

Commit b82a128

Browse files
committed
fix: ensure ECS service tags are propagated
This fixes the issue specifically with the `ignore_task_definition` service type.
1 parent 00cc6b6 commit b82a128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/service/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ resource "aws_ecs_service" "ignore_task_definition" {
381381
wait_for_steady_state = var.wait_for_steady_state
382382

383383
propagate_tags = var.propagate_tags
384-
tags = var.tags
384+
tags = merge(var.tags, var.service_tags)
385385

386386
timeouts {
387387
create = try(var.timeouts.create, null)

0 commit comments

Comments
 (0)