has insufficient cpu units available?
Short Description. You can get this error if your closest matching container instance for task placement doesn't have enough CPU units to meet the requirements of the task definition. ... The closest matching container-instance container-instance-id encountered error "AGENT".