i am using the latest serverless on macos
Operating System: darwin
Node Version: 13.13.0
Framework Version: 1.72.0
Plugin Version: 3.6.13
SDK Version: 2.3.1
Components Version: 2.30.12```
here is my serverless.yml file
- Effect: Allow
- 'EC2 Instance State-change Notification'
#schedule: rate(10 minutes)```
after i run sls deploy, the generated cloudformation under .serverless directory doesn't include the rule setting and lambda function doesn't have trigger configured with eventbridge. If i switched to "schedule" and comment out pattern/source/detail-type lines, rule is generated properly and lambda has trigger with eventbridge.
I run with "SLS_DEBUG=* sls deploy --Nodeploy", which doesn't report error or exception. It just silently ignore the pattern section.
Appreciate any suggestions on what i missed here. Thanks!