Open romk1n opened 2 months ago
I don't think the environment
section is needed, but I wonder if the "edgelambda.amazonaws.com" in the role is no longer needed: https://github.com/sanfrancesco/prerendercloud-lambda-edge/blob/e6ce2a65b78b7c90d84dd34ad364494f137eaaf3/serverless.yml#L63
can you try recreating (or modifying the trust policy) so it only has access to 1 service "lambda.amazonaws.com" instead of both "edgelambda.amazonaws.com" and "lambda.amazonaws.com"?
will try thanks, it's interesting that's it is off by default, so i was wondering if there was specific reason.
let me know what you find or if you have any more info about the "Role trusts too many services, expected only 1." error
@jotto the issue is that we cannot see any monitoring because when we deploy the function Insights are disabled, we can see logs though and we can see it's working. So that's the main question if you know how to enable monitoring?
and without monitoring we don't get any cloudwatch stats all dashboard are empty and traces as well
those basic cloudwatch metrics should be working by default... can you try changing the date range from 1w to 1hr to ensure it's not hiding the most recent data?
also email me support@headless-render-api.com with your account email so i can double check that the requests are being made
We will send en email, as we trying to debug blocklist functionality. What's really weird if we do test manually we can see invocations and logs. but when it's executed from cloudfront no invocations are shown in lambda monitoring, however cloudfront does show stats that function is called, it's a bit all bizzare, we also know 100% that it's working.
Hi, When we deployed the the lambda edge we can't see any monitoring, trying to change configuration in place we getting an error: Role trusts too many services, expected only 1.
I guess there must be some configuration in deploy which would switch on?
maybe envrionment is required, but we not sure how to correctly set it up using this project.
Thanks.