diff --git a/infrastructure/cloud/modules/ECS/TaskDefinition/main.tf b/infrastructure/cloud/modules/ECS/TaskDefinition/main.tf index 6bfc2c2f..5c05fd85 100644 --- a/infrastructure/cloud/modules/ECS/TaskDefinition/main.tf +++ b/infrastructure/cloud/modules/ECS/TaskDefinition/main.tf @@ -10,7 +10,7 @@ resource "aws_ecs_task_definition" "ecs_td" { lifecycle { # Since the dummy-image will be replaced when the GHA pipeline runs, # the whole container_definition edits has been ignored. - ignore_changes = [container_definitions] + ignore_changes = [container_definitions[0].image] } container_definitions = jsonencode([