Hi @half plume ๐
Can you explain a bit more what your use case is? You mentioned that the lambda is triggered on sign up. Is this a Cognito trigger such as Post Confirmation Trigger?
Are you trying to grant the lambda itself access to the graphql api? If so, you can do so by adding an auth rule to the model that allows IAM and updating the function with permissions to access the GraphQL API.
For more information, refer to our docs on Calling GraphQL API from a Lambda function:
https://docs.amplify.aws/guides/functions/graphql-from-lambda/q/platform/js/#iam-authorization