Skip to content

runtime not added to template #170

Open
@dcarrion87

Description

@dcarrion87

On sls deploy:

{"ResourceType":"cloudfunctions.v1beta2.function","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"The request has errors","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.rpc.BadRequest","fieldViolations":[{"field":"runtime","description":"Runtime field cannot be empty."}]}],"statusMessage":"Bad Request","requestPath":"https://cloudfunctions.googleapis.com/v1beta2/projects/sunny-buttress-xxxxx/locations/us-central1/functions","httpMethod":"POST"}}

Had to adjust serverless-google-cloudfunctions/package/lib/compileFunctions.js to push runtime through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions