Skip to content

Throws error when using 'disableLogs' on functions #127

Description

@mklenbw

If you set disableLogs: true in functions it will remove the LogGroup and thus the dependsOn.

This plugin checks for dependsOn to be an array and throws otherwise. Means disabling log-groups will lead serverless-iam-roles-per-function to throw.

See https://github.com/functionalone/serverless-iam-roles-per-function/blob/1bb7ca7da33385ac9b38f70aee9dd9c0da052382/src/lib/index.ts#L184C1-L185C1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions