Skip to content

Commit

Permalink
differentiate task definition families (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital authored Dec 13, 2023
1 parent f588dae commit ed3141a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/environment/region/modules/app/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ resource "aws_security_group_rule" "app_ecs_service_egress" {
}

resource "aws_ecs_task_definition" "app" {
family = local.name_prefix
family = "${local.name_prefix}-app"
requires_compatibilities = ["FARGATE"]
network_mode = "awsvpc"
cpu = 512
Expand Down
2 changes: 1 addition & 1 deletion terraform/environment/region/modules/mock_onelogin/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ resource "aws_security_group_rule" "mock_onelogin_ecs_service_egress" {
}

resource "aws_ecs_task_definition" "mock_onelogin" {
family = local.name_prefix
family = "${local.name_prefix}-mock-onelogin"
requires_compatibilities = ["FARGATE"]
network_mode = "awsvpc"
cpu = 512
Expand Down

0 comments on commit ed3141a

Please sign in to comment.