Back to articles
April 3, 2025

AWS ECS FarGate 1.3.0 uses Docker, 1.4.0 uses containerd

In terraform the ECS version can be specified.
Using platform_version 1.3.0 uses Docker for your containers.
Using platform_version 1.4.0 uses containerd.

'platform_version' resource "aws_ecs_service" "main" {
    name = "tools-ecs-service"
    cluster = aws_ecs_cluster.main.id
    task_definition = aws_ecs_task_definition.app.arn
    desired_count = var.app_count
    launch_type = "FARGATE"
    platform_version = "1.3.0"
}
Loading comments...