diff --git a/main.tf b/main.tf index 2e12f57..00f1a4d 100644 --- a/main.tf +++ b/main.tf @@ -135,6 +135,12 @@ resource "aws_ecs_service" "service" { Name = "${var.name_prefix}-ecs-tasks-sg" }, ) + + lifecycle { + ignore_changes = [ + task_definition + ] + } } #------------------------------------------------------------------------------