The default Task definition settings are listed. Some of the Task definition settings are modifiable, while others are not. Network mode is not modifiable, and must be awsvpc. Compatibilities is also not modifiable, and must be set to FARGATE. Modifying the task definition is optional:
- To modify a task definition, click on Task definition | Edit, as shown in the following screenshot:
- In the Configure task definition dialog, set the Task definition name (mysql-task-definition) as shown in the following screenshot.
- Network mode is not modifiable for the Fargate launch type and must be awsvpc.
- Select Task execution role as ecsTaskExecutionRole. The ecsTaskExecutionRole grants permissions to make calls to CloudWatch to send container logs.
- Compatibilities is preset to FARGATE, and is not modifiable either.Â
- Set the Task...