You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I want to temporarily disable creation of the log group, in order to later re-enable & recreate it in a nested stack using serverless-plugin-split-stacks custom config. However when I add disableLogs: trueas per the docs I get an error:
Serverless Error ----------------------------------------
serverless-iam-roles-per-function: ERROR: Function Resource is not in expected format. For function name: asyncSyncProductsDb
The plugin is throwing this error even though my lambda config is fine.
If I comment out the iamRoleStatements then it works fine and deletes the log group, ostensibly because this plugin does not process the lambda config.
Any ideas on fixes or workarounds? I need to do this to about 30 lambdas :-)
The text was updated successfully, but these errors were encountered:
Since the original maintainer is the only one holding the keys to both fix the builds that are failing and being able to publish to NPM and seems to have abandoning this I've taken the steps to workaround this and is currently publishing this in a parallell plugin named serverless-iamroles.
Hi there,
I have the following config in Serverless.yml for a lambda:
Now I want to temporarily disable creation of the log group, in order to later re-enable & recreate it in a nested stack using
serverless-plugin-split-stacks
custom config. However when I adddisableLogs: true
as per the docs I get an error:The plugin is throwing this error even though my lambda config is fine.
If I comment out the
iamRoleStatements
then it works fine and deletes the log group, ostensibly because this plugin does not process the lambda config.Any ideas on fixes or workarounds? I need to do this to about 30 lambdas :-)
The text was updated successfully, but these errors were encountered: