Skip to content

Google function name not match 'handler' property #212

@YellyYU

Description

@YellyYU

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions