HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

In what way does a new ECS Fargate service not satisfy the task definition's required capabilities?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
definitionrequiredthecapabilitiesnewwhatecswaysatisfyservice

Problem

When creating a new AWS ECS service using a Fargate task, in the AWS Console wizard, it fails with the following error:

Failed creation of Service
Service creation failed: The specified platform does not satisfy the task definition’s required capabilities.


The service launch type is set to FARGATE and the Platform version is set to LATEST. The task is attempting to mount an AWS EFS filesystem for persistent storage (introduced in version 1.4.0 of the platform).

Solution

This is by design because AWS have yet to upgrade LATEST to point to v1.4.0 (as per 2020-06-23, see AWS ECS Developer Guide). Set the service platform version explicitly to 1.4.0 (instead of LATEST).

Context

StackExchange DevOps Q#11508, answer score: 4

Revisions (0)

No revisions yet.