Skip to content

Commit

Permalink
Fix cloudwatch scheduled event
Browse files Browse the repository at this point in the history
  • Loading branch information
trbarrett committed Jun 12, 2020
1 parent 2c40dd1 commit 8b5dd7e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ functions:
scheduledAirtableUpdate:
handler: BigHack.Fumble.Api::BigHack.Fumble.Api.LambdaFunctions::scheduledAirtableUpdate
events:
- cloudwatchEvent:
name: bighack-fumble-api-${self:provider.stage}-airtable-update
schedule: rate(1 minutes)
- schedule:
rate: rate(1 minutes)
name: "bighack-fumble-api-${self:provider.stage}-airtable-update"
enabled: true

resources:
Resources:
Expand Down

0 comments on commit 8b5dd7e

Please sign in to comment.