Given the question: Formulate an answer to this elaborate question: Scott Eastwood appeared in a 2014 American war film that also stars Brad Pitt and Shia LaBeouf, and was written and directed by who?
The answer is:
David Ayer