Terraform example for google app engine standard Java8

Hi all. I wonder if there’s any knowledge / examples on how to deploy a google app engine service to the standard environment for java 8
The documents only suggest how to do it for a node application.
I presume you’d have to specify a war or jar file somewhere in the entrypoint?