Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
nathan-mill opened this issue Aug 9, 2023 · 1 comment
Open
3 tasks done

Comments

@nathan-mill
Copy link

nathan-mill commented Aug 9, 2023

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.

@lforst
Copy link
Member

lforst commented Aug 16, 2023

Hi, thanks for writing in. @kamilogorek tested this and in theory it works but he mentioned that this part

image (6)

has a bug because the lambda he selected didn't register. He fixed it by going to the integration settings of the Sentry Lambda integration and enabling them again there. Then it worked. We need to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants