I set my serverless.yml as below to trigger lambda function when an object is created at specified S3 bucket.
- prefix: test/MyAppBuild
After successful deployment, I go to Lambda console's Triggers tab, but I don't see any trigger.
So, I added IAM role to yaml as below, but still cannot see any trigger.
- Effect: "Allow"
After adding a trigger manually via AWS console, my lambda function worked as expected.
If a trigger is added when I deploy with serverless framework, it would be nice.