Sanket Chauhan
09/16/2021, 7:14 PMcron, rate, etc). In my Seed console, I only see the HTTP triggered Lambdas.
What happens to Lambdas that are triggered off of other event types, such as Cloudwatch? Are they not deployed currently? Any info or pointers to the docs here would be appreciated. Thanks!Ross Coundon
09/16/2021, 7:15 PMPranav Badami
09/16/2021, 7:27 PMsls to set up the project and our serverless.yml. Would that affect how the events are defined and lead to inconsistencies in the .yml file?Ross Coundon
09/16/2021, 8:02 PMPranav Badami
09/16/2021, 8:40 PMscheduledDailySlackDigest:
handler: ScheduleDailySlackDigest.handler
timeout: 60
maximumRetryAttempts: 0
warmup:
default:
enabled: false
events:
- schedule:
rate: cron(0/1 13 * * ? *)
and here's a function that's an HTTP endpoint:
addToSlack:
handler: HandleAddToSlack.handler
timeout: 30
events:
- http:
method: post
path: addtoslack
cors:
origin: "*"
headers:
- Content-Type
- X-Amz-Date
- Authorization
- X-Api-Key
- X-Amz-Security-Token
- X-Amz-User-Agent
allowCredentials: true
any thoughts on why the former wouldn't be showing up in the serverless stack resources?Frank
sls package locally and open up the generated CloudFormation template, do u see scheduledDailySlackDigest in there?
• if u do, open up the build log on SEED, expand the serverless deploy step, you should see a list of deployed functions near the bottom. Is scheduledDailySlackDigest in there?