patternMinor
In what way does a new ECS Fargate service not satisfy the task definition's required capabilities?
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:
The service launch type is set to
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.