Updating an Amazon ECS task definition using the console
A task definition revision is a copy of the current task definition with the new parameter values replacing the existing ones. All parameters that you do not modify are in the new revision.
To update a task definition, create a task definition revision. If the task definition is used in a service, you must update that service to use the updated task definition.
When you create a revision, you can modify the following container properties and environment properties.
-
Container image URI
-
Port mappings
-
Environment variables
-
Task size
-
Container size
-
Task role
-
Task execution role
-
Volumes and container mount points
-
Private registry
JSON validation
The Amazon ECS console JSON editor validates the following in the JSON file:
-
The file is a valid JSON file
-
The file does not contain any extraneous keys
-
The file contains the
familyName
parameter -
There is at least one entry under
containerDefinitions