Comments (5)
Try adding passRole to iamRoleStatement eg
iamRoleStatements:
- Effect: "Allow"
Action:
- "logs:PutSubscriptionFilter"
Resource: "*"
- Effect: "Allow"
Action:
- "iam:PassRole"
Resource: "*"
Seems to match what is required/documented here:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html
from lambda-logging-kinesis-demo.
The above recommendation by @hampsterx didn't work for me.
EDIT: Oops, I hadn't enabled the serverless-iam-roles-per-function
plugin. That, in conjunction with @hampsterx's tip got it working for me. 👏
from lambda-logging-kinesis-demo.
@hampsterx it works!
from lambda-logging-kinesis-demo.
@hampsterx, @pedrodelgallego @andrhamm, thank you for raising the issue and finding a fix for it.
I've added a PR for fixing this issue.
In addition I've changed the configuration to be more robust, so you can use environment variables to override some basic configurations.
@theburningmonk - Can you please review it?
from lambda-logging-kinesis-demo.
Hi guys, thanks for reporting this. Sadly this project is no longer necessary, per se, as I have published a version of this as a SAR app, here which lets you specify the ARN for the target to be either Lambda or Kinesis.
from lambda-logging-kinesis-demo.
Related Issues (2)
- Missing build.sh HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lambda-logging-kinesis-demo.