Deploying to new regions not working

Open
#877 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws

Research direction

Start with the AWS Integration and Lambda Forwarder CloudFormation guidance referenced in the issue, then compare the us-east-1 and us-west-2 Lambda and API Gateway configuration, including the ARN list. Done means logs from API Gateway in the second region arrive in Datadog, not only logs from a test invocation.

Written by the indexing model from the issue text.

Description

I'm trying to get the AWS Integration working and the initial setup works fine via CFN for the first region , us-east-1 in my case. I'm following https://docs.datadoghq.com/logs/guide/forwarder/?tab=cloudformation
“If you had previously enabled your AWS Integration using the following CloudFormation template from your AWS integration page in Datadog, your account may already be provisioned with a Datadog Lambda Forwarder function if you decided to include it. In that case, you will only need to install the Datadog Lambda in additional AWS regions in your account where you wish to export logs.” So I've manually created a Lambda in a different region, us-west-2, exactly the same as in the first region and added it to the list of ARNs in the AWS Integration config page, enabled API Gateway access/execution logs. but nothing is coming through to DD logs from the second region.

Image

Test invoking the function from the console shows the function's log coming through ok:
Image

Dominant language
Python
Stars
351
Forks
397
Avg merge
6h 13m
Merged PRs (30d)
31

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/datadog-serverless-functions

All issues in DataDog/datadog-serverless-functions

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.