Skip to content

Deploying graphql function results in error #456

Open
@deCodeIt

Description

@deCodeIt

When running serverless deploy function --function graphql after npm run deploy to update lambda function with recent changes I ended up with The role defined for the function cannot be assumed by Lambda.

Solution:

in examples/aws-node-graphql-and-rds/resource/LambdaRole.yml we need to add RoleName to fix that.
RoleName: serverlessLambdaIAMRole

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