I have been trying to deploy a GCP cloud function using Spring Cloud Function and Spring Native unfortunately it seems that GCP is blocking the AOT mode as shown in the photo "AOT mode disabled"
Does anyone had success deploying a native spring cloud function ?
Jonathan.
As Mentioned by @guillaume blaquiere,
AOT isn’t supported by Cloud Functions, you can use Cloud Run instead, to compile and deploy your container.
You can also try referring to this codelabs quickstart to get you started with the Spring Native on Google Cloud.