sentry icon indicating copy to clipboard operation
sentry copied to clipboard

AWS Lambda Problem

Open vishwasnavadak opened this issue 3 years ago • 7 comments

Important Details

How are you running Sentry?

On-Premise w/ Docker, version 21.3.0 96d5172

Description

Clicking on Go to AWS button on AWS Integration page goes to TemplateURL missing error.

image image

Steps to Reproduce

  1. Go to Settings

  2. Navigate to Integration from left sidebar.

  3. Click on Add Integration for AWS Lambda

  4. Pop Up appears with image

  5. Click on Go To AWS

  6. Login with AWS credentials

  7. CloudFormation Page appears with the error since the templateURL in the URL is blank.

Good items to include here include:

  • Include a stacktrace or other logs when relevant
  • Include a redacted version of your configuration (sentry.conf.py and config.yml files) when relevant

What you expected to happen

templateURL is supposed to be populated with link to the CloudFormation template file. But it is indeed blank. stackName=Sentry-Monitoring-Stack&templateURL=

vishwasnavadak avatar Mar 30 '21 12:03 vishwasnavadak

Pinging @getsentry/ecosystem for triage

BYK avatar Mar 30 '21 15:03 BYK

Ping @getsentry/growth for triage :)

BYK avatar Apr 07 '21 17:04 BYK

We currently don't support AWS Lambda on self-hosted (we need docs to explain how to set it up). This is in our backlog but I'm not sure when we'll get to it.

scefali avatar Apr 08 '21 19:04 scefali

Thanks for letting me know!

I was hoping this could have been mentioned somewhere before I struggled to set it up.

vishwasnavadak avatar Apr 09 '21 03:04 vishwasnavadak

@scefali Think this is something we can contribute to? Happy to make PR if you point me in the right direction.

graeme44 avatar Nov 23 '21 12:11 graeme44

interested in this procedure as well

shimon-elbaz avatar Dec 07 '21 09:12 shimon-elbaz

Does anyone know how to set this up?

senbax-admin avatar Aug 06 '22 16:08 senbax-admin

Any update about this issue? I have the same problem trying to integrate Sentry Self-Hosted with AWS Lambda Functions.

miguelconde91 avatar Jan 09 '23 23:01 miguelconde91

I'm having the same issue as described above with a self-hosted sentry environment. Unable to add the installation with a cloud formation template from sentry. Is there any update of work-around for this issue?

Is it possible to share the url where this template is hosted?? While googling this issue I found an example where the template url is shared, but this is one is not active any more.. this url was: https://s3.us-east-1.amazonaws.com/sentry-performance-monitoring/cloudformation-template.yaml

ivdmeer avatar May 25 '23 07:05 ivdmeer

I just created a test account on sentry.io on the cloud edition of sentry and when I start this aws integration I now get the templateUrl parameter with a value: templateURL=https%3A%2F%2Fsentry-cloudformation-templates.s3.us-east-2.amazonaws.com%2Flambda-cloudformation.json

The cloudformation template deploys correct, but I cannot connect with the self-hosted sentry to my aws account, I get the following error:

Screenshot from 2023-05-25 15-12-49

When I use the same settings on the cloud edition of sentry, connecting to my aws account does work.

So could this issue please get some more attention?

ivdmeer avatar May 25 '23 12:05 ivdmeer

@ivdmeer it's tagged as backlog. Dev replied earlier in thread: https://github.com/getsentry/sentry/issues/24821#issuecomment-816112452

fullyherge avatar May 29 '23 06:05 fullyherge

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

getsantry[bot] avatar Sep 14 '23 18:09 getsantry[bot]