Skip to content

Commit

Permalink
Update functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cduhn17 committed Feb 9, 2024
1 parent 50ab080 commit 91fc7ff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions backend/src/tasks/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ checkUserExpiration:
handler: src/tasks/checkUserExpiration.handler
events:
- schedule: cron(0 0 * * ? *) # Runs every day at midnight
iamRoleStatements:
- Effect: "Allow"
Action:
- "cognito-idp:AdminDisableUser"
- "cognito-idp:ListUsers"
- "cognito-idp:AdminSetUserPassword"
Resource: "*"



scanExecution:
Expand Down

0 comments on commit 91fc7ff

Please sign in to comment.