My lambda is triggered by user setting.
So I’ve tested to see whether the setting was maintained or not by following steps but configured schedule is just removed after deploying.
Is there any way to maintain configured schedule after deploying?
- define a lambda in serverless.yml as following
TestLambda:
handler: lambda.handler
name: test-lambda
- set up a rule to run an TestLambda on a schedule by AWS console.(using a cron expression)
- deploy serverless.yml