Skip to content

cognito events ignored #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
orr-levinger opened this issue Oct 4, 2020 · 0 comments
Open

cognito events ignored #135

orr-levinger opened this issue Oct 4, 2020 · 0 comments

Comments

@orr-levinger
Copy link

orr-levinger commented Oct 4, 2020

i have this lambda event:

  create-auth-challenge:
    handler: src/functions/auth/create-auth-challenge.handler
    events:
    - cognitoUserPool:
        pool: ${self:custom.base}-phone-user-pool
        trigger: CreateAuthChallenge
        existing: true

it works fine until i update the cognito definition in the serverless.yml by adding for example:

Properties:
  Policies:
    PasswordPolicy:
      RequireLowercase: false
      RequireSymbols: false
      MinimumLength: 7
      RequireUppercase: false
      RequireNumbers: false

after deploying the function is no longer associated with the cognito events in the console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant