Skip to content

Cannot read property 'Properties' of undefined #11

Description

@manjirinamjoshi

Hello,

I am getting this error for "sls deploy --stage dev" -

TypeError: Cannot read property 'Properties' of undefined
at BindDeploymentId.fixUpDeploymentStage (/et/repo/serverless/channel/node_modules/serverless-plugin-bind-deployment-id/lib/index.js:70:32)
at BindDeploymentId.bindDeploymentId (/et/repo/serverless/channel/node_modules/serverless-plugin-bind-deployment-id/lib/index.js:48:35)

My serverless.yml has functions and API Gateway resources and methods.

When I decide to have a trigger for atleast 1 function then this error doesnt appear.
But, if none of my lambda functions have a trigger then this errors pops up.

serverless.yml contents are -
https://gist.github.com/manjirinamjoshi/ca3900cd814d654e955af9ed069a0b35

Thank you

Sincerely,
Manjiri

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions