Skip to content

Commit 0efd752

Browse files
authored
Merge pull request #10 from druids/feat/fargate-compatibility
fix(fargate): add cpu and memory for fargate tasks
2 parents 280fb71 + ab3b079 commit 0efd752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "aws_ecs_service" "application" {
88
cluster = data.aws_ecs_cluster.ecs.arn
99

1010
task_definition = "${aws_ecs_task_definition.application.family}:${max(aws_ecs_task_definition.application.revision, data.aws_ecs_task_definition.application.revision)}"
11-
launch_type = "EC2"
11+
launch_type = var.requires_compatibilities[0]
1212
desired_count = var.min_capacity
1313
deployment_maximum_percent = var.max_healthy
1414
deployment_minimum_healthy_percent = var.min_healthy

0 commit comments

Comments
 (0)