Skip to content

Commit

Permalink
Merge pull request #365 from ministryofjustice/ND-399
Browse files Browse the repository at this point in the history
Added ignore changes to dns ecs service
  • Loading branch information
laurentb4 authored Nov 6, 2024
2 parents a376f3f + 8d9fa85 commit 0968459
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/dns/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ resource "aws_ecs_service" "service" {
launch_type = "FARGATE"
tags = var.tags

lifecycle {
ignore_changes = [desired_count]
}

load_balancer {
target_group_arn = aws_lb_target_group.target_group.arn
container_name = "dns-server"
Expand Down

0 comments on commit 0968459

Please sign in to comment.