Skip to content

Installation process silently fails when Lambda is part of an Amplify application #86365

@nathan-mill

Description

@nathan-mill

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/serverless

SDK Version

7.61.1

Framework Version

No response

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Went through the onboarding wizard which essentially follows this documented workflow: https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/

Everything seemed to proceed without issue as far as creating the CloudFormation stack goes, however, no layers or environment variables were added to any of the Lambdas I chose in the subsequent step.

Expected Result

I expected something to either succeed or present me with an error message indicating otherwise.

Actual Result

Lambda functions selected have no layers and no Sentry-related environment variables.

Calling an undefined function does not send any data to Sentry.

Repeating the process manually through the normal admin dashboard seems to actually succeed at creating the necessary layer. It's just the NUX wizard that is dying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions