In Prefect's documentation, under the definition of vertex run the example definition was for Google's "e2-standard-4".
However, it says there that the spec should be workerPoolSpec linking to the AWS documentation. (And so are the links to machine_types and CustomJobSpec)
Is this a solution for GCP or AWS? Which is the mistake?
The document is intended as a GCP solution but unfortunately the links are mixed up, redirecting to AWS pages.
Notice at the bottom part of the Prefect's VertexRun documentation, there are the correct links for the GCP documents, however the hyperlinked numbers point to AWS as well.
You'll find the WorkerPoolSpec as part of the CustomJobSpec document.