This was really infuriating to realize that the reason I wasn't able to add an EFS volume to my task definition was because I was using the "new ui experience" and it doesn't list EFS volumes in the "type" dropdown list while creating task definitions for ECS. I can't believe I lost hours just because of this.