Not sure whether this is caused by update at Google side or configurations of my own, but following the quick-start steps I observed that the function created at Google Cloud is named "my-service-dev-first" (i.e. <service-name>
-dev-<handler>
) instead of "first" (the handler name, which is currently assumed to be the function name at Google side).
This mismatch caused the invocation to fail with Function Not Found error:
Error --------------------------------------------------
Error: Function http in region us-central1 in project PROJECTNAME does not exist